Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-33089][SQL] make avro format propagate Hadoop config from DS o…
…ptions to underlying HDFS file system ### What changes were proposed in this pull request? In `AvroUtils`'s `inferSchema()`, propagate Hadoop config from DS options to underlying HDFS file system. ### Why are the changes needed? There is a bug that when running: ```scala spark.read.format("avro").options(conf).load(path) ``` The underlying file system will not receive the `conf` options. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? unit test added Closes apache#29971 from yuningzh-db/avro_options. Authored-by: Yuning Zhang <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
- Loading branch information