vikrantmehta123 opened a new pull request, #2907:
URL: https://github.com/apache/datafusion-ballista/pull/2907

   # Which issue does this PR close?
   
   Follow-up to #2886.
   
   # Rationale for this change
   
   This PR addresses [Andy's review 
comments](https://github.com/apache/datafusion-ballista/pull/2886#pullrequestreview-5993533406)
 on #2886.
   
   # What changes are included in this PR?
   
   - Adds a default implementation to 
`SessionConfigExt::ballista_partition_sliceable_resolver` which returns `None`. 
This is updated in docs as well.
   - Updates the test to ensure that a resolver returning `None` leaves the 
query results unchanged.
   - "cannot restrict" errors in `ballista/scheduler/src/state/task_builder.rs` 
point to the standalone resolver methods too. There were two tests that had 
this "cannot restrict" error. One was related to Iceberg integration tests and 
the other one was scheduler test. I have updated the scheduler test, but not 
the iceberg test as the Iceberg workspace pins an older Ballista version (AI 
helped me identify this). 
   
   # Are there any user-facing changes?
   
   Yes. The error message now tells standalone users how to register a 
resolver. Downstream implementations of `SessionConfigExt` can omit the 
resolver getter and inherit its default. The setter remains required.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to