-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Component: C++Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: enhancement
Description
When writing code to generate exec plans we often write something like...
MakeExecNodeOrStop("write", plan.get(), {table}, options);
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.
Reporter: Weston Pace / @westonpace
Note: This issue was originally created as ARROW-15967. Please see the migration documentation for further details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: C++Status: stale-warningIssues and PRs flagged as stale which are due to be closed if no indication otherwiseIssues and PRs flagged as stale which are due to be closed if no indication otherwiseType: enhancement