Xuebin Su has uploaded a new patch set (#3). ( https://gerrit.cloudera.org/25262 )
Change subject: IMPALA-15721: Use unsigned comparison for strings in FE ...................................................................... IMPALA-15721: Use unsigned comparison for strings in FE Previously, when comparing two `StringLiteral`s in the Frontend, signed comparison was used to compare each pair of bytes. As a result, with UTF-8 encoding, non-ASCII strings were considered less than ASCII strings, causing incorrect results. This patch fixes the issue by switching to the unsigned comparison. Testing: - Added E2E tests for cases that use the Frontend comparison. Change-Id: I764cc31e8beec93c33a1f9d0bd6d11e4f877bb41 --- M fe/src/main/java/org/apache/impala/analysis/StringLiteral.java M testdata/workloads/functional-query/queries/QueryTest/parquet-stats.test 2 files changed, 23 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/62/25262/3 -- To view, visit https://gerrit.cloudera.org/25262 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I764cc31e8beec93c33a1f9d0bd6d11e4f877bb41 Gerrit-Change-Number: 25262 Gerrit-PatchSet: 3 Gerrit-Owner: Xuebin Su <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
