cloud-fan commented on a change in pull request #34667:
URL: https://github.com/apache/spark/pull/34667#discussion_r761683432
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
##########
@@ -327,14 +327,24 @@ final class DataFrameWriter[T] private[sql](ds:
Dataset[T]) {
supportsExtract, catalogManager, dsOptions)
val location =
Option(dsOptions.get("path")).map(TableCatalog.PROP_LOCATION -> _)
-
+ val tableSpec = TableSpec(
+ bucketSpec = None,
+ properties = Map(TableCatalog.PROP_PROVIDER -> source) ++
location,
Review comment:
Actually, we should put `Map.empty` here. provide is also specified in
`TableSpec.provider`
--
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]