[ 
https://issues.apache.org/jira/browse/ARROW-15967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Farmer reassigned ARROW-15967:
-----------------------------------

    Assignee:     (was: Vibhatha Lakmal Abeykoon)

This issue was last updated over 90 days ago, which may be an indication it is 
no longer being actively worked. To better reflect the current state, the issue 
is being unassigned. Please feel free to re-take assignment of the issue if it 
is being actively worked, or if you plan to start that work soon.

> [C++] Return a nice error if the user types the wrong node name in an exec 
> plan
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-15967
>                 URL: https://issues.apache.org/jira/browse/ARROW-15967
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Weston Pace
>            Priority: Major
>
> When writing code to generate exec plans we often write something like...
> {noformat}
> MakeExecNodeOrStop("write", plan.get(), {table}, options);
> {noformat}
> A few times now a user has (possibly via copy / paste) written the wrong node 
> (e.g. "sink" instead of "write") and when that happens we try and do a 
> checked cast on the options (e.g. to WriteNodeOptions) and this raises an 
> exception.  We should do a safer cast and return an invalid status with a 
> nice message.



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

Reply via email to