You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lantao Jin (Jira)" <ji...@apache.org> on 2020/02/11 06:03:00 UTC

[jira] [Created] (SPARK-30785) Create table like should keep tracksPartitionsInCatalog same with source table

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org