Commit 738694a
committed
fix: detect and fall back for native_datafusion incompatibilities
- Add detection for case-insensitive duplicate field names in
CometScanRule, falling back to native_iceberg_compat when
native_datafusion would produce different error messages than Spark.
- Fix schema evolution test to account for auto mode now preferring
native_datafusion, which always handles type promotion.
The metrics test failures (output_rows=0, filter pushdown=0) are
pre-existing on main and not caused by this change.1 parent 627bb85 commit 738694a
2 files changed
Lines changed: 14 additions & 1 deletion
File tree
- spark/src
- main/scala/org/apache/comet/rules
- test/scala/org/apache/comet/parquet
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
| 987 | + | |
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
| |||
0 commit comments