cloud-fan commented on a change in pull request #28026: [SPARK-31257][SQL] 
Unify create table syntax (WIP)
URL: https://github.com/apache/spark/pull/28026#discussion_r398300454
 
 

 ##########
 File path: 
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/TableCatalog.java
 ##########
 @@ -46,6 +46,11 @@
    */
   String PROP_LOCATION = "location";
 
+  /**
+   * A reserved property to specify a table was created with EXTERNAL.
+   */
+  String PROP_EXTERNAL = "external";
 
 Review comment:
   Spark hides the `EXTERNAL TABLE` concept from users, that's why we forbid 
`EXTERNAL` in the native CREATE TABLE syntax. I don't think we should expose 
the `EXTERNAL` to catalog plugins.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to