You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datafusion-cli
> SELECT * FROM '**/*.parquet';
+---+---+
| b | a |
+---+---+
| 2 | 1 || 3 ||
+---+---+
2 row(s) fetched.
Elapsed 0.055 seconds.
To Reproduce
No response
Expected behavior
Partition evolution is handled and both cases return
+---+---+
| b | a |
+---+---+
| 2 | 1 |
| 3 | 2 |
+---+---+
Additional context
Having played around quite a bit with ParquetExec and the SchemaAdapter machinery I think what should happen is:
Partition values are on a per-file basis, in particular on each PartitionedFile and not on the FileScanConfig
Partition values are passed into the SchemaAdapter machinery and for each file it decides if it needs to add a column generated from partition values or not
The text was updated successfully, but these errors were encountered:
Describe the bug
With CSV:
With Parquet:
To Reproduce
No response
Expected behavior
Partition evolution is handled and both cases return
Additional context
Having played around quite a bit with ParquetExec and the SchemaAdapter machinery I think what should happen is:
PartitionedFile
and not on theFileScanConfig
The text was updated successfully, but these errors were encountered: