Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/15024#discussion_r85239693
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/createDataSourceTables.scala
---
@@ -62,6 +62,7 @@ case class CreateDataSourceTableCommand(table:
CatalogTable, ignoreIfExists: Boo
sparkSession = sparkSession,
userSpecifiedSchema = if (table.schema.isEmpty) None else
Some(table.schema),
className = table.provider.get,
+ paths = table.storage.locationUri.toSeq,
bucketSpec = table.bucketSpec,
options = table.storage.properties).resolveRelation()
--- End diff --
Thank you! The rule looks good to me. I will try to find holes, if existed,
tonight. : )
It sounds like we need test cases to verify the rules. Could you add test
cases if @yhuai @ericl also agree on the proposal?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]