LantaoJin opened a new pull request #27538: [SPARK-30785][SQL] Create table 
like should keep tracksPartitionsInCatalog same with source table
URL: https://github.com/apache/spark/pull/27538
 
 
   ### What changes were proposed in this pull request?
   Table generated by CTL a partitioned table is a partitioned table. But when 
run `ALTER TABLE ADD PARTITION`, it will throw `AnalysisException: ALTER TABLE 
ADD PARTITION is not allowed`. That's because the default value of 
`tracksPartitionsInCatalog` from CTL always is false.
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   Add a unit test.

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