Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24294

to look at the new patch set (#2).

Change subject: IMPALA-14970: Time-travel queries can throw 
UnsupportedOperationException
......................................................................

IMPALA-14970: Time-travel queries can throw UnsupportedOperationException

Time-travel queries could throw UnsupportedOperationException when
they found files replicated on data nodes that were not in the host
index of the table. It's because ListMap's populate() method did not
copy the given list, but wrapped the original list via
Collections.synchronizedList(). When the given list was immutable
then we got the above error when we wanted to extend the host
index (during time-travel).

This patch fixes ListMap's populate() method to copy the given list.

Testing
* unit tests added for ListMap
* e2e tests added for Iceberg tables + time-travel

Change-Id: I3773eb7a37e9918501bfa8a22707967e79024aca
---
M fe/src/main/java/org/apache/impala/util/ListMap.java
A fe/src/test/java/org/apache/impala/util/ListMapTest.java
M tests/query_test/test_iceberg.py
3 files changed, 142 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/94/24294/2
--
To view, visit http://gerrit.cloudera.org:8080/24294
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3773eb7a37e9918501bfa8a22707967e79024aca
Gerrit-Change-Number: 24294
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>

Reply via email to