You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2023/08/30 11:28:24 UTC
[GitHub] [arrow] jorisvandenbossche commented on issue #37437: [C++] "utf8_split_whitespace" kernel returned offset buffers are too small for large string in case of empty array
jorisvandenbossche commented on issue #37437:
URL: https://github.com/apache/arrow/issues/37437#issuecomment-1698981788
@agoose77 thanks for the report! I can confirm this looks buggy.
In the execution path of a scalar kernel, we do have a check for an empty input:
https://github.com/apache/arrow/blob/f40bf7751772276134c46cae7ac25cef2cdad560/cpp/src/arrow/compute/exec.cc#L781-L793
And so I suppose something is going wrong there (because once you enter the actual kernel-specific exec code, it creates a LargeStringBuilder, and finishing such a builder produces the correct offsets, also in the case of an empty result)
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org