Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30785

Create table like should keep tracksPartitionsInCatalog same with source table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cltlfcjin Lantao Jin
              cltlfcjin Lantao Jin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: