Support backwards compatible / un prefixed config options (compression
rather than parquet.compression
)
#9575
Labels
compression
rather than parquet.compression
)
#9575
Is your feature request related to a problem or challenge?
Before #9382, DataFusion write configuration was inconsistent and different than the main configuration system and #9382 rationalized it ❤️
However, it also broke compatibility with old configuration and introduced some redundancy that can be annoying, as @devinjdangelo noted #9382 (review)
For example, to specify the compression type when writing parquet, after #9382 one needs to repeat 'parquet' to namespace the configuration options (
format parquet
and'parquet.compression'
)Describe the solution you'd like
I would like to introduce some backwards compatibility so when I write
It means the same as
Describe alternatives you've considered
I suggest we add some sort of special case code that tried to parse the option as normal, and if that failed, try with the different formats / prefixes
For example, if
compression
wasn't a valid option,Additional context
No response
The text was updated successfully, but these errors were encountered: