ZhangHuiGui opened a new issue, #41974: URL: https://github.com/apache/arrow/issues/41974
### Describe the enhancement requested Mainly for below improvement and codes simplification: 1. NullGeneralization not support chunked-array's null status check which may prevent some optimization for preallocation.[1] 2. ComputeDataPreallocate not support `[Large]ListView`'s preallocate.[2] 3. Some DCHECK and branch check for preallocate the validity-bitmaps are unnecessary. [1] https://github.com/apache/arrow/blob/ad897bb843b06bb7d54c5913396ac54f736e4e7c/cpp/src/arrow/compute/exec.cc#L943C1-L951C58 [2] https://github.com/apache/arrow/blob/ad897bb843b06bb7d54c5913396ac54f736e4e7c/cpp/src/arrow/compute/exec.cc#L286C1-L308C2 ### Component(s) C++ -- 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]
