This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


    from 881d38fb4d7 HIVE-28199: Fix docker issues with Hive 3.1.3 on Mac. 
(#5178)
     add 4f05ca6067d HIVE-28131: Iceberg: Add support for Replace Branch. 
(#5190). (Ayush Saxena, reviewed by Butao Zhang)

No new revisions were added by this update.

Summary of changes:
 .../iceberg/mr/hive/HiveIcebergMetaHook.java       |   2 +-
 .../iceberg/mr/hive/HiveIcebergStorageHandler.java |   5 +
 .../apache/iceberg/mr/hive/IcebergBranchExec.java  |  25 +++
 ...java => TestHiveIcebergSnapshotOperations.java} |  36 +++-
 .../test/queries/positive/replace_iceberg_branch.q |  46 +++++
 .../results/positive/replace_iceberg_branch.q.out  | 223 +++++++++++++++++++++
 .../hadoop/hive/ql/parse/AlterClauseParser.g       |   8 +
 .../org/apache/hadoop/hive/ql/parse/HiveParser.g   |   1 +
 .../hadoop/hive/ql/ddl/table/AlterTableType.java   |   1 +
 .../AlterTableReplaceBranchRefAnalyzer.java}       |  71 +++----
 .../hive/ql/parse/AlterTableSnapshotRefSpec.java   |  89 ++++++++
 .../apache/hadoop/hive/ql/plan/HiveOperation.java  |   1 +
 .../authorization/plugin/HiveOperationType.java    |   1 +
 .../plugin/sqlstd/Operation2Privilege.java         |   2 +
 14 files changed, 471 insertions(+), 40 deletions(-)
 rename 
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/{TestHiveIcebergCherryPick.java
 => TestHiveIcebergSnapshotOperations.java} (64%)
 create mode 100644 
iceberg/iceberg-handler/src/test/queries/positive/replace_iceberg_branch.q
 create mode 100644 
iceberg/iceberg-handler/src/test/results/positive/replace_iceberg_branch.q.out
 copy 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/snapshotref/{AlterTableCreateSnapshotRefAnalyzer.java
 => branch/replace/AlterTableReplaceBranchRefAnalyzer.java} (60%)

Reply via email to