Weston Pace created ARROW-18050:
-----------------------------------

             Summary: [C++] Substrait consumer should reject plans containing 
options that it doesn't recognize
                 Key: ARROW-18050
                 URL: https://issues.apache.org/jira/browse/ARROW-18050
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Weston Pace


This is a follow-up to ARROW-17966.

This is a bit tricky because we basically just pass the call today to:

{noformat}
  using SubstraitCallToArrow =
      std::function<Result<arrow::compute::Expression>(const SubstraitCall&)>;
{noformat}

Then we have no way of knowing which options were actually used by the call.  
Since we don't know this we have no way of checking to make sure we used all of 
the given options.

This is rather important since a given, but not recognized, option should be 
rejected.  This means the producer is asking for some kind of specific behavior 
and we are probably not going to be able to provide it.



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

Reply via email to