Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      In the mater, the query below fails;

      create table tt3 (ax bigint, b short, c decimal) using parquet;
      alter table tt3 rename c to d;
      

      In PostgreSQL, we can make COLUMN optional;

      ALTER TABLE [ IF EXISTS ] [ ONLY ] name [ * ]
          RENAME [ COLUMN ] column_name TO new_column_name
      

      https://www.postgresql.org/docs/current/sql-altertable.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            maropu Takeshi Yamamuro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: