Lantao Jin created SPARK-30785:
----------------------------------

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


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

Reply via email to