Repository navigation
Commit 124bcf1
test: reproduce input_file_name() filter pushdown failure
`input_file_name()` is a source-dependent function that cannot be evaluated
inside a parquet `RowFilter`. Unlike `file_row_index()`, it is not excluded
from filter pushdown, so when `datafusion.execution.parquet.pushdown_filters`
is enabled the predicate is pushed into the scan and the query fails with:
Error evaluating filter predicate: input_file_name() is source dependent
and cannot be evaluated directly
This adds an slt test (currently failing) demonstrating the bug: the query
should return rows 10, 20, 30 but errors instead. This matters because
enabling `pushdown_filters` by default is unsafe until this is fixed.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>1 parent 36d1c98 commit 124bcf1
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
127 | 155 | | |
128 | 156 | | |
0 commit comments