You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2022/04/22 19:31:00 UTC
[jira] [Created] (ARROW-16290) [C++] ExecuteScalarExpression, when calling a nullary function on a nullary batch, resets the batch length to 1
Weston Pace created ARROW-16290:
-----------------------------------
Summary: [C++] ExecuteScalarExpression, when calling a nullary function on a nullary batch, resets the batch length to 1
Key: ARROW-16290
URL: https://issues.apache.org/jira/browse/ARROW-16290
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Weston Pace
At the moment ARROW-16286 prevents us from using ExecuteScalarExpression on nullary functions. However, if we bypass constant folding, then we run into another problem. The batch passed to the function always has length = 1.
This appears to be tied up with the logic of ExecBatchIterator that I don't quite follow entirely. However, we should be preserving the batch length of the input to ExecuteScalarExpression and passing that to the function.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)