You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/02 00:25:41 UTC
[GitHub] [spark] holdenk commented on a change in pull request #30554: [SPARK-30098][SQL] Add a configuration to use default datasource as provider for CREATE TABLE command
holdenk commented on a change in pull request #30554:
URL: https://github.com/apache/spark/pull/30554#discussion_r533812048
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -2922,6 +2922,15 @@ object SQLConf {
.stringConf
.createWithDefault("")
+ val LEGACY_CREATE_HIVE_TABLE_BY_DEFAULT =
+ buildConf("spark.sql.legacy.createHiveTableByDefault")
+ .internal()
+ .doc("When set to true, CREATE TABLE syntax without a table provider will use hive " +
+ s"instead of the value of ${DEFAULT_DATA_SOURCE_NAME.key} as the table provider.")
Review comment:
If this is a "legacy" key mention how long folks can depend on it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org