Yikf commented on code in PR #36941:
URL: https://github.com/apache/spark/pull/36941#discussion_r903677309
##########
sql/core/src/test/scala/org/apache/spark/sql/DataFrameWriterV2Suite.scala:
##########
@@ -531,6 +534,27 @@ class DataFrameWriterV2Suite extends QueryTest with
SharedSparkSession with Befo
assert(table.properties === (Map("provider" -> "foo") ++
defaultOwnership).asJava)
}
+ test("SPARK-39543 writeOption should be passed to storage properties when
fallback to v1") {
+ val provider = classOf[InMemoryV1Provider].getName
+ val oldConf = spark.sessionState.conf.getConf(SQLConf.USE_V1_SOURCE_LIST)
+ try {
Review Comment:
Updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]