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

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

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