Xuebin Su has uploaded this change for review. ( https://gerrit.cloudera.org/25262
Change subject: IMPALA-15721: Use unisnged comparison for strings in FE ...................................................................... IMPALA-15721: Use unisnged 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 unisnged 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/1 -- 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: newchange Gerrit-Change-Id: I764cc31e8beec93c33a1f9d0bd6d11e4f877bb41 Gerrit-Change-Number: 25262 Gerrit-PatchSet: 1 Gerrit-Owner: Xuebin Su <[email protected]>
