Is your feature request related to a problem or challenge?
As @alamb mentioned in #11361 (comment), we should support not only scalar lists but also arrays for the map and make_map functions. However, I encountered some challenges, which I detailed in #11361 (comment). I left the disabled test cases in
|
query error |
|
SELECT make_map(column1, column2, column3, column4) FROM t; |
|
# TODO: support array value |
|
# ---- |
|
# {a: 1, k1: 10} |
|
# {b: 2, k3: 30} |
|
# {d: 4, k5: 50} |
|
|
|
query error |
|
SELECT map(column5, column6) FROM t; |
|
# TODO: support array value |
|
# ---- |
|
# {k1:1, k2:2} |
|
# {k3: 3} |
|
# {k5: 5} |
.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
As @alamb mentioned in #11361 (comment), we should support not only scalar lists but also arrays for the
mapandmake_mapfunctions. However, I encountered some challenges, which I detailed in #11361 (comment). I left the disabled test cases indatafusion/datafusion/sqllogictest/test_files/map.slt
Lines 200 to 214 in 1dfac86
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response