You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "findepi (via GitHub)" <gi...@apache.org> on 2025/06/18 13:09:20 UTC
[I] Support GROUP BY and DISTINCT with FixedSizeList values [datafusion]
findepi opened a new issue, #16442:
URL: https://github.com/apache/datafusion/issues/16442
### Is your feature request related to a problem or challenge?
This should work
```diff
$ git diff datafusion/sqllogictest/test_files/array.slt
diff --git datafusion/sqllogictest/test_files/array.slt datafusion/sqllogictest/test_files/array.slt
index a2640fa98..0e5644a89 100644
--- datafusion/sqllogictest/test_files/array.slt
+++ datafusion/sqllogictest/test_files/array.slt
@@ -7936,6 +7936,18 @@ select arrow_typeof(a) from fixed_size_col_table;
FixedSizeList(Field { name: "item", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, 3)
FixedSizeList(Field { name: "item", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, 3)
+query ?
+SELECT DISTINCT a FROM fixed_size_col_table
+----
+[1, 2, 3]
+[4, 5, 6]
+
+query ?I
+SELECT a, count(*) FROM fixed_size_col_table GROUP BY a
+----
+[1, 2, 3] 1
+[4, 5, 6] 1
+
statement error
create table varying_fixed_size_col_table (a int[3]) as values ([1,2,3]), ([4,5]);
```
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
Perhaps https://github.com/apache/arrow-rs/pull/7705
### Additional context
_No response_
--
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: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Support GROUP BY and DISTINCT with FixedSizeList values [datafusion]
Posted by "findepi (via GitHub)" <gi...@apache.org>.
findepi commented on issue #16442:
URL: https://github.com/apache/datafusion/issues/16442#issuecomment-3024541889
also needs https://github.com/apache/arrow-rs/pull/7789
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Support GROUP BY and DISTINCT with FixedSizeList values [datafusion]
Posted by "adriangb (via GitHub)" <gi...@apache.org>.
adriangb closed issue #16442: Support GROUP BY and DISTINCT with FixedSizeList values
URL: https://github.com/apache/datafusion/issues/16442
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Support GROUP BY and DISTINCT with FixedSizeList values [datafusion]
Posted by "findepi (via GitHub)" <gi...@apache.org>.
findepi commented on issue #16442:
URL: https://github.com/apache/datafusion/issues/16442#issuecomment-3006087406
https://github.com/apache/arrow-rs/pull/7705 is merged
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org