Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0.0
-
None
-
None
Description
Following two queries produce different results (first succeeds, second throws an exceptions):
select map('a', 1, 'A' collate utf8_binary_lcase, 2); -- success select map('a' collate utf8_binary_lcase, 1, 'A', 2); -- exception
Following query results in 1:
select cast(map('a', 1, 'A', 2) as map<string collate utf8_binary_lcase, string>)['A' collate utf8_binary_lcase]; -- 1