Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Impala 2.1, Impala 2.3.0
-
None
Description
Repro:
create table foo(col1 char(10)); insert into foo values (cast('test1' as char(10))); select * from foo where col1 = 'test1'; <-- returns an empty result set select * from foo where col1 = cast('test1' as char(10)); <-- correctly returns 1 row
Attachments
Attachments
Issue Links
- is related to
-
IMPALA-11321 Cannot compare char to varchar
- Closed
-
IMPALA-2172 length(CHAR) doesn't consider trailing space
- Resolved
- relates to
-
HIVE-24040 Slightly odd behaviour with CHAR comparisons and string literals
- Open