Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20825
Change subject: IMPALA-12658: UPDATE Iceberg table FROM view throws IllegalStateException ...................................................................... IMPALA-12658: UPDATE Iceberg table FROM view throws IllegalStateException UPDATE FROM statement throws exception when updating Iceberg target table based on a view. This happens because we didn't correctly substituted all the expressions used by the IcebergUpdateImpl class. This patch fixes expression substitions, so from now VIEWs can also be used to UPDATE Iceberg tables. Testing: * added e2e test * added Ranger Column Masking test Change-Id: I80ccdb61327a50082f792a6d51f946b11c467dab --- M fe/src/main/java/org/apache/impala/analysis/IcebergModifyImpl.java M fe/src/main/java/org/apache/impala/analysis/IcebergUpdateImpl.java M fe/src/main/java/org/apache/impala/analysis/KuduModifyImpl.java M fe/src/main/java/org/apache/impala/analysis/ModifyImpl.java M fe/src/main/java/org/apache/impala/planner/Planner.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-update-basic.test M testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking.test M tests/query_test/test_iceberg.py 8 files changed, 60 insertions(+), 12 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/20825/1 -- To view, visit http://gerrit.cloudera.org:8080/20825 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I80ccdb61327a50082f792a6d51f946b11c467dab Gerrit-Change-Number: 20825 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com>