XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      For alter table command, we have the following tokens.
      TOK_ALTERTABLE_RENAME
      TOK_ALTERTABLE_LOCATION
      TOK_ALTERTABLE_PROPERTIES/TOK_ALTERTABLE_DROPPROPERTIES
      TOK_ALTERTABLE_SERIALIZER
      TOK_ALTERTABLE_SERDEPROPERTIES
      TOK_ALTERTABLE_CLUSTER_SORT
      TOK_ALTERTABLE_SKEWED

      For a data source table, let's implement TOK_ALTERTABLE_RENAME, TOK_ALTERTABLE_LOCATION, and TOK_ALTERTABLE_SERDEPROPERTIES. We need to decide what we do for TOK_ALTERTABLE_PROPERTIES/TOK_ALTERTABLE_DROPPROPERTIES. It will be use to allow users to correct the data format (e.g. changing csv to com.databricks.spark.csv to allow the table be accessed by the older versions of spark).

      For a Hive table, we should implement all commands supported by the data source table and TOK_ALTERTABLE_PROPERTIES/TOK_ALTERTABLE_DROPPROPERTIES.

      For TOK_ALTERTABLE_CLUSTER_SORT and TOK_ALTERTABLE_SKEWED, we should throw exceptions.

      Attachments

        Issue Links

          Activity

            People

              andrewor14 Andrew Or
              yhuai Yin Huai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: