David Li created ARROW-17230:
--------------------------------

             Summary: [C++] Fix minor bugs in Substrait to ExecPlan conversion
                 Key: ARROW-17230
                 URL: https://issues.apache.org/jira/browse/ARROW-17230
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: David Li
            Assignee: David Li


* The return type of DeserializePlan is wrong: it should be 
{{shared_ptr<ExecPlan>}}, else we get a use-after-free.
* Errors are ignored where they shouldn't be: you can get a half-constructed 
plan instead of an error.
* A stateful callback is called twice, leading to invalid options being passed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to