taiyang-li commented on issue #6561:
URL:
https://github.com/apache/incubator-gluten/issues/6561#issuecomment-2251851554
the second issue solved :
``` sql
0: jdbc:hive2://localhost:10000/> select
. . . . . . . . . . . . . . . . > map_from_arrays(
. . . . . . . . . . . . . . . . >
transform(map_keys(map('t1','a','t2','b')), v->v),
. . . . . . . . . . . . . . . . > array('a','b')) as b from range(10);
+----------------------+
| b |
+----------------------+
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
| {"t1":"a","t2":"b"} |
+----------------------+
10 rows selected (0.76 seconds)
0: jdbc:hive2://localhost:10000/>
0: jdbc:hive2://localhost:10000/>
0: jdbc:hive2://localhost:10000/> select
transform(map_values(map('t1','a','t2','b')), v->v) from range(10) ;
+----------------------------------------------------+
| transform(map_values(map(t1, a, t2, b)),
lambdafunction(namedlambdavariable(), namedlambdavariable())) |
+----------------------------------------------------+
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
| ["a","b"] |
+----------------------------------------------------+
10 rows selected (0.494 seconds)
```
--
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]