[ https://issues.apache.org/jira/browse/SPARK-30785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-30785. --------------------------------- Fix Version/s: 3.0.0 Resolution: Fixed Issue resolved by pull request 27538 [https://github.com/apache/spark/pull/27538] > Create table like should keep tracksPartitionsInCatalog same with source table > ------------------------------------------------------------------------------ > > Key: SPARK-30785 > URL: https://issues.apache.org/jira/browse/SPARK-30785 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.0.0 > Reporter: Lantao Jin > Assignee: Lantao Jin > Priority: Major > Fix For: 3.0.0 > > > 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}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org