cloud-fan commented on pull request #28026:
URL: https://github.com/apache/spark/pull/28026#issuecomment-624077549


   This is not an issue before because we didn't translate the Hive-style 
CREATE TABLE statement to catalog plugin operations.
   
   Note that: our goal is to unify the CREATE TABLE syntax. The side effect is 
we need to define how to translate the Hive-style CREATE TABLE statement to 
catalog plugin operations. This is a new feature and we are discussing details 
about this new feature.
   
   Now I start to feel this may be too risky for 3.0 and we may need more time 
for things like voting. Shall we enrich the native CREATE TABLE syntax a little 
bit in 3.0 to reduce the confusion? For examples:
   1. support the `PARTITION BY (col type)` syntax.
   2. support the skew join syntax and simply fail like the Hive-style syntax.
   2. support `EXTERNAL` keyword and simply fail. This makes sure the only way 
to create hive table is to use the Hive serde syntax.
   
   @HeartSaVioR do you think the things above can reduce confusion?


----------------------------------------------------------------
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]



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

Reply via email to