mirror of
https://github.com/apache/impala.git
synced 2026-01-06 06:01:03 -05:00
IMPALA-1319: Fixed CHAR padding for numeric casts
IMPALA-1322: Crash on VARCHAR/CHAR join Fixed 2 issues: (1) Disabled codegen for CHAR in hash join equality (2) fixed memory layout for CHAR (3) Fixed a regression where space padding could be dropped for numeric casts. Change-Id: I6475fd527ca0d67c7d4d5ec7e561549e43fbc336 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4640 Reviewed-by: Victor Bittorf <victor.bittorf@cloudera.com> Tested-by: jenkins
This commit is contained in:
@@ -229,3 +229,12 @@ string
|
||||
'6c'
|
||||
'c'
|
||||
====
|
||||
---- QUERY
|
||||
# Regression test for IMPALA-1322
|
||||
select count(*) from functional.chars_tiny as A, functional.chars_tiny as B
|
||||
where cast(A.cs as CHAR(1)) = cast(B.vc as CHAR(1));
|
||||
---- TYPES
|
||||
bigint
|
||||
---- RESULTS
|
||||
9
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user