cloud-fan commented on a change in pull request #35268:
URL: https://github.com/apache/spark/pull/35268#discussion_r789486840
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -3203,6 +3203,10 @@ class AstBuilder extends SqlBaseBaseVisitor[AnyRef] with
SQLConfHelper with Logg
throw QueryParsingErrors.cannotCleanReservedTablePropertyError(
PROP_OWNER, ctx, "it will be set to the current user")
case (PROP_OWNER, _) => false
+ case (PROP_EXTERNAL, _) if !legacyOn =>
+ throw QueryParsingErrors.cannotCleanReservedTablePropertyError(
+ PROP_EXTERNAL, ctx, "it will be set according the location")
Review comment:
```suggestion
PROP_EXTERNAL, ctx, "please use CREATE EXTERNAL TABLE")
```
--
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]