Description
In load() and save() methods of DataSource V2, extra options are overwritten by session options:
- https://github.com/apache/spark/blob/c9cb393dc414ae98093c1541d09fa3c8663ce276/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala#L244-L245
- https://github.com/apache/spark/blob/c9cb393dc414ae98093c1541d09fa3c8663ce276/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala#L205
but implementation must be opposite - more specific extra options set via .option(...) must overwrite more common session options
Attachments
Issue Links
- links to