Files
impala/testdata/workloads/functional-query/queries/QueryTest
Attila Jeges 4fc42c379e IMPALA-10739: Support setting new partition spec for Iceberg tables
With this patch Impala will support partition evolution for
Iceberg tables.

The DDL statement to change the default partition spec is:
ALTER TABLE <tbl> SET PARTITION SPEC(<partition-spec>)

Hive uses the same SQL syntax.

Testing:
- Added FE test to exercise parsing various well-formed and ill-formed
  ALTER TABLE SET PARTITION SPEC statements.

- Added e2e tests for:
  - ALTER TABLE SET PARTITION SPEC works for tables with HadoopTables
    and HadoopCatalog Catalog.
  - When evolving partition spec, the old data written with an earlier
    spec remains unchanged. New data is written using the new spec in
    a new layout. Data written with earlier spec and new spec can be
    fetched in a single query.
  - Invalid ALTER TABLE SET PARTITION SPEC statements yield the
    expected analysis error messages.

Change-Id: I9bd935b8a82e977df9ee90d464b5fe2a7acc83f2
Reviewed-on: http://gerrit.cloudera.org:8080/17723
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2021-08-03 16:27:07 +00:00
..
2021-07-06 18:35:30 +00:00
2021-02-15 22:25:41 +00:00