[Impala-ASF-CR] IMPALA-11482: Alter Table Execute Rollback for Iceberg tables.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/19002 ) Change subject: IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. .. Patch Set 5: Build Successful https://jenkins.impala.io/job/gerrit-code-review-checks/11375/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests. -- To view, visit http://gerrit.cloudera.org:8080/19002 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 Gerrit-Change-Number: 19002 Gerrit-PatchSet: 5 Gerrit-Owner: Andrew Sherman Gerrit-Reviewer: Gabor Kaszab Gerrit-Reviewer: Gergely Fürnstáhl Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tamas Mate Gerrit-Reviewer: Zoltan Borok-Nagy Gerrit-Comment-Date: Sat, 17 Sep 2022 18:15:06 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-11482: Alter Table Execute Rollback for Iceberg tables.
Hello Tamas Mate, Gabor Kaszab, Zoltan Borok-Nagy, Gergely Fürnstáhl, Impala Public Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/19002 to look at the new patch set (#5). Change subject: IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. .. IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. Iceberg table modifications cause new table snapshots to be created; these snapshots represent an earlier version of the table. The Iceberg API provides a way to rollback the table to a previous snapshot. This change add the ability to execute a rollback on Iceberg tables using the following statements: - ALTER TABLE EXECUTE ROLLBACK() - ALTER TABLE EXECUTE ROLLBACK('') The latter form of the command rolls back to the the latest snapshot that has a creation timestamp that is older than the specified timestamp. Note that when a table is rolled back to a snapshot, a new snapshot is created with the same snapshot id, but with a new creation timestamp. Moved the logic that deals with id and timestamps from TimeTravelSpec into a new parent class 'SnapshotSpec'. This allows the logic to be reused in a new subclass. A few names were changed to be less specific to the "AS OF" support. Testing: - Added analysis unit tests. - Added e2e tests. - Added a Snapshot class to the pytests to encapsulate the output of DESCRIBE HISTORY. Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 --- M common/thrift/JniCatalog.thrift M fe/src/main/cup/sql-parser.cup A fe/src/main/java/org/apache/impala/analysis/AlterTableExecuteRollbackStmt.java A fe/src/main/java/org/apache/impala/analysis/RollbackSpec.java A fe/src/main/java/org/apache/impala/analysis/SnapshotSpec.java M fe/src/main/java/org/apache/impala/analysis/TableRef.java M fe/src/main/java/org/apache/impala/analysis/TimeTravelSpec.java M fe/src/main/java/org/apache/impala/catalog/FeFsTable.java M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java M fe/src/main/java/org/apache/impala/common/TransactionKeepalive.java M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java M fe/src/main/java/org/apache/impala/util/IcebergUtil.java M fe/src/main/jflex/sql-scanner.flex M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java A fe/src/test/java/org/apache/impala/analysis/SnapshotSpecTest.java A testdata/workloads/functional-query/queries/QueryTest/iceberg-rollback.test M tests/common/iceberg_test_suite.py M tests/query_test/test_iceberg.py 19 files changed, 684 insertions(+), 174 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/19002/5 -- To view, visit http://gerrit.cloudera.org:8080/19002 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 Gerrit-Change-Number: 19002 Gerrit-PatchSet: 5 Gerrit-Owner: Andrew Sherman Gerrit-Reviewer: Gabor Kaszab Gerrit-Reviewer: Gergely Fürnstáhl Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tamas Mate Gerrit-Reviewer: Zoltan Borok-Nagy
[Impala-ASF-CR] IMPALA-11482: Alter Table Execute Rollback for Iceberg tables.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/19002 ) Change subject: IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. .. Patch Set 4: Build Failed https://jenkins.impala.io/job/gerrit-code-review-checks/11374/ : Initial code review checks failed. See linked job for details on the failure. -- To view, visit http://gerrit.cloudera.org:8080/19002 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 Gerrit-Change-Number: 19002 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Sherman Gerrit-Reviewer: Gabor Kaszab Gerrit-Reviewer: Gergely Fürnstáhl Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tamas Mate Gerrit-Reviewer: Zoltan Borok-Nagy Gerrit-Comment-Date: Sat, 17 Sep 2022 16:37:51 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-11482: Alter Table Execute Rollback for Iceberg tables.
Hello Tamas Mate, Gabor Kaszab, Zoltan Borok-Nagy, Gergely Fürnstáhl, Impala Public Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/19002 to look at the new patch set (#4). Change subject: IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. .. IMPALA-11482: Alter Table Execute Rollback for Iceberg tables. Iceberg table modifications cause new table snapshots to be created; these snapshots represent an earlier version of the table. The Iceberg API provides a way to rollback the table to a previous snapshot. This change add the ability to execute a rollback on Iceberg tables using the following statements: - ALTER TABLE EXECUTE ROLLBACK() - ALTER TABLE EXECUTE ROLLBACK('') The latter form of the command rolls back to the the latest snapshot that has a creation timestamp that is older than the specified timestamp. Note that when a table is rolled back to a snapshot, a new snapshot is created with the same snapshot id, but with a new creation timestamp. Moved the logic that deals with id and timestamps from TimeTravelSpec into a new parent class 'SnapshotSpec'. This allows the logic to be reused in a new subclass. A few names were changed to be less specific to the "AS OF" support. Testing: - Added analysis unit tests. - Added e2e tests. - Added a Snapshot class to the pytests to encapsulate the output of DESCRIBE HISTORY. Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 --- M common/thrift/JniCatalog.thrift M fe/src/main/cup/sql-parser.cup A fe/src/main/java/org/apache/impala/analysis/AlterTableExecuteRollbackStmt.java A fe/src/main/java/org/apache/impala/analysis/RollbackSpec.java A fe/src/main/java/org/apache/impala/analysis/SnapshotSpec.java M fe/src/main/java/org/apache/impala/analysis/TableRef.java M fe/src/main/java/org/apache/impala/analysis/TimeTravelSpec.java M fe/src/main/java/org/apache/impala/catalog/FeFsTable.java M fe/src/main/java/org/apache/impala/catalog/FeIcebergTable.java M fe/src/main/java/org/apache/impala/common/TransactionKeepalive.java M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java M fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java M fe/src/main/java/org/apache/impala/util/IcebergUtil.java M fe/src/main/jflex/sql-scanner.flex M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java A fe/src/test/java/org/apache/impala/analysis/SnapshotSpecTest.java A testdata/workloads/functional-query/queries/QueryTest/iceberg-rollback.test M tests/common/iceberg_test_suite.py M tests/query_test/test_iceberg.py 19 files changed, 667 insertions(+), 174 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/19002/4 -- To view, visit http://gerrit.cloudera.org:8080/19002 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic74913d3b81103949ffb5eef7cc936303494f8b9 Gerrit-Change-Number: 19002 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Sherman Gerrit-Reviewer: Gabor Kaszab Gerrit-Reviewer: Gergely Fürnstáhl Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tamas Mate Gerrit-Reviewer: Zoltan Borok-Nagy
[Impala-ASF-CR] IMPALA-9999: Switch to GCC 10.4
Csaba Ringhofer has posted comments on this change. ( http://gerrit.cloudera.org:8080/18134 ) Change subject: IMPALA-: Switch to GCC 10.4 .. Patch Set 15: Code-Review+2 (1 comment) http://gerrit.cloudera.org:8080/#/c/18134/14/be/src/udf/udf.cc File be/src/udf/udf.cc: http://gerrit.cloudera.org:8080/#/c/18134/14/be/src/udf/udf.cc@112 PS14, Line 112: user_string_ > Here is the warning (and this has been around a while even on GCC 7.5 on re Thanks for the explanation! -- To view, visit http://gerrit.cloudera.org:8080/18134 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ibe6857b822925226d39fd4d6413457ef6bbaabec Gerrit-Change-Number: 18134 Gerrit-PatchSet: 15 Gerrit-Owner: Joe McDonnell Gerrit-Reviewer: Abhishek Rawat Gerrit-Reviewer: Andrew Sherman Gerrit-Reviewer: Csaba Ringhofer Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Michael Smith Gerrit-Comment-Date: Sat, 17 Sep 2022 07:31:05 + Gerrit-HasComments: Yes