hu6360567 opened a new issue, #36881: URL: https://github.com/apache/arrow/issues/36881
### Describe the bug, including details regarding any error messages, version, and platform. when called `DeclarationToReader`, it calls `DeclarationToRecordBatchGenerator`, but when setting `SinkNodeOptions`, `sequence_output` parameter is ignored. It should fail when the plan is validated. https://github.com/apache/arrow/blob/5a9240fd28e1d7261a10a4816301d22995cfb8e0/cpp/src/arrow/acero/exec_plan.cc#L1019-L1021 It should be easy to fix, but the downstream `DeclarationToReader` will not return the error state when it called to `DeclarationToRecrodBatchGenerator`. https://github.com/apache/arrow/blob/5a9240fd28e1d7261a10a4816301d22995cfb8e0/cpp/src/arrow/acero/exec_plan.cc#L1039-L1048 ### 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]
