andygrove commented on PR #2994:
URL:
https://github.com/apache/datafusion-comet/pull/2994#issuecomment-4148224687
This seems to have exposed a bug:
```
[info] - group-by.sql *** FAILED *** (6 seconds, 481 milliseconds)
[info] group-by.sql
[info] Expected Some("struct<count(1):bigint>"), but got Some("struct<>")
Schema did not match for query #82
[info] SELECT count(*)
[info] FROM VALUES (ARRAY(MAP(1, 2, 2, 3), MAP(1, 3))), (ARRAY(MAP(2, 3),
MAP(1, 3))), (ARRAY(MAP(2, 3, 1, 2), MAP(1, 3))) as t(a)
[info] GROUP BY a: -- !query
[info] SELECT count(*)
[info] FROM VALUES (ARRAY(MAP(1, 2, 2, 3), MAP(1, 3))), (ARRAY(MAP(2, 3),
MAP(1, 3))), (ARRAY(MAP(2, 3, 1, 2), MAP(1, 3))) as t(a)
[info] GROUP BY a
[info] -- !query schema
[info] struct<>
[info] -- !query output
[info] org.apache.comet.CometNativeException
[info] Not yet implemented: Row format support not yet implemented for:
[SortField { options: SortOptions { descending: false, nulls_first: true },
data_type: List(Field { data_type: Map(Field { name: "entries", data_type:
Struct([Field { name: "key", data_type: Int32 }, Field { name: "value",
data_type: Int32 }]) }, false) }) }] (SQLQueryTestSuite.scala:679)
```
--
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]