You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/10/21 18:33:32 UTC
[I] docs: Document ArrayData length limit [datafusion-comet]
andygrove opened a new issue, #2619:
URL: https://github.com/apache/datafusion-comet/issues/2619
### What is the problem the feature request solves?
During fuzz testing, I found an edge case where Comet fails for `array_repeat`:
```
Cannot create array with 2147483647 elements of data due to exceeding the limit 2147483632 elements for ArrayData. array_repeat failed.
```
We should probably mention this limitation somewhere in the documentation, if we haven't already.
### Describe the potential solution
_No response_
### 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] docs: Document ArrayData length limit [datafusion-comet]
Posted by "SemyonSinchenko (via GitHub)" <gi...@apache.org>.
SemyonSinchenko commented on issue #2619:
URL: https://github.com/apache/datafusion-comet/issues/2619#issuecomment-3429103791
I can add this check.
--
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] docs: Document ArrayData length limit [datafusion-comet]
Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #2619:
URL: https://github.com/apache/datafusion-comet/issues/2619#issuecomment-3432650241
Thanks @
> [It is a limitation of Spark itself](https://github.com/apache/spark/blob/branch-4.0/common/utils/src/main/java/org/apache/spark/unsafe/array/ByteArrayUtils.java#L26), isn't it?
>
> I think it should be checked inside `array_repeat` like I did it when implemented [array_insert](https://github.com/apache/datafusion-comet/blob/main/native/spark-expr/src/array_funcs/array_insert.rs#L250)
Thanks @SemyonSinchenko, you are correct that this was a valid Spark error not a Comet issue. I will close this issue.
--
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] docs: Document ArrayData length limit [datafusion-comet]
Posted by "SemyonSinchenko (via GitHub)" <gi...@apache.org>.
SemyonSinchenko commented on issue #2619:
URL: https://github.com/apache/datafusion-comet/issues/2619#issuecomment-3429102520
[It is a limitation of Spark itself](https://github.com/apache/spark/blob/branch-4.0/common/utils/src/main/java/org/apache/spark/unsafe/array/ByteArrayUtils.java#L26), isn't it?
I think it should be checked inside `array_repeat` like I did it when implemented [array_insert](https://github.com/apache/datafusion-comet/blob/main/native/spark-expr/src/array_funcs/array_insert.rs#L250)
--
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] docs: Document ArrayData length limit [datafusion-comet]
Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #2619: docs: Document ArrayData length limit
URL: https://github.com/apache/datafusion-comet/issues/2619
--
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