Michael Smith has uploaded a new patch set (#4) to the change originally created by Bruno Pusztahazi. ( http://gerrit.cloudera.org:8080/18001 )
Change subject: IMPALA-10086: SqlCastException when comparing char with varchar ...................................................................... IMPALA-10086: SqlCastException when comparing char with varchar No longer crashes. However not all cases return values despite having the same padding. For example select * from test_varchar_casts where c = v does not produce any matches while select * from test_varchar_casts where c = cast(v as char(6)) does. Change-Id: I3cd331ae1b6afb778a88080efd38900694539a89 --- M fe/src/main/java/org/apache/impala/analysis/Expr.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeExprsTest.java M tests/query_test/test_cast_with_format.py 3 files changed, 65 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/01/18001/4 -- To view, visit http://gerrit.cloudera.org:8080/18001 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I3cd331ae1b6afb778a88080efd38900694539a89 Gerrit-Change-Number: 18001 Gerrit-PatchSet: 4 Gerrit-Owner: Bruno Pusztahazi <bpusztah...@cloudera.com> Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>