Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
create table table1(col0 int, col1 bigint, col2 string, col3 bigint, col4 bigint); insert into table1 values (1, 10000, 'ccl',2014, 11); insert into table1 values (1, 10000, 'ccl',2015, 11); insert into table1 values (1, 10000, 'ccl',2014, 11); insert into table1 values (1, 10000, 'ccl',2013, 11); -- INCORRECT SELECT COUNT(t1.col0) from table1 t1 where struct(col3, col4) in (struct(2014,11)); -- CORRECT SELECT COUNT(t1.col0) from table1 t1 where struct(col3, col4) in (struct('2014','11'));