Nikola Mandic created SPARK-48430: ------------------------------------- Summary: Fix map value extraction when map contains collated strings Key: SPARK-48430 URL: https://issues.apache.org/jira/browse/SPARK-48430 Project: Spark Issue Type: Task Components: SQL Affects Versions: 4.0.0 Reporter: Nikola Mandic
Following queries return unexpected results: {code:java} select collation(map('a', 'b' collate utf8_binary_lcase)['a']); select collation(element_at(map('a', 'b' collate utf8_binary_lcase), 'a'));{code} Both return UTF8_BINARY instead of UTF8_BINARY_LCASE. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org