chenkovsky commented on code in PR #18394:
URL: https://github.com/apache/datafusion/pull/18394#discussion_r2484111077
##########
datafusion/sqllogictest/test_files/map.slt:
##########
@@ -544,11 +544,16 @@ SELECT (CASE WHEN 1 > 0 THEN MAP {'x': 100} ELSE MAP
{'y': 200} END)['x'];
----
100
-# TODO(https://github.com/apache/datafusion/issues/11785): fix accessing map
with non-string key
-# query ?
-# SELECT MAP { MAP {1:'a', 2:'b'}:1, MAP {1:'c', 2:'d'}:2 }[MAP {1:'a',
2:'b'}];
-# ----
-# 1
+# fix accessing map with nested key
+query I
+SELECT MAP { MAP {1:'a', 2:'b'}:1, MAP {1:'c', 2:'d'}:2 }[MAP {1:'a', 2:'b'}];
Review Comment:
can I put a TODO here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]