westonpace commented on PR #12460: URL: https://github.com/apache/arrow/pull/12460#issuecomment-1159097426
In the exec plan / engine (e.g. everywhere using ExecBatch), scalar columns have length (part of the reason I'm a fan of treating scalars everywhere as RLE encoded arrays is to easily express this). For this function, if we are going to allow it to be called as a "scalar function", it must not change the length of incoming arrays. So I would expect: A scalar null with length 0 should return an empty array or a scalar null with length 0. A scalar null with length X should return an array of nulls with length X or a scalar null with length X. -- 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]
