Denys-Bushulyak opened a new issue, #9405:
URL: https://github.com/apache/arrow-datafusion/issues/9405

   ### Describe the bug
   
   Conditions with `AND` and `OR` does not works, works only first (left) sub 
condition.
   
   Schema example:
   
   ```rust
   let schema = Schema::new(vec![
       Field::new("id", DataType::Int32, false),
       Field::new("title", DataType::Utf8, false),
       Field::new("cluster_builder_status", DataType::Utf8, false)]);
   ```
   
   ### To Reproduce
   
   Queuing `SELECT * FROM my_catalog.my_schema.my_table WHERE id > 100;` works 
as expected. 
   
   But  this: `SELECT * FROM my_catalog.my_schema.my_table WHERE id > 100 AND 
id < 200;` equal to first one and return ids greater than 200. 
   
   ### Expected behavior
   
   Filtering records on engine side regarding conditions.
   
   ### Additional context
   
   Precondition: `TableProvider` implemented struct `ExampleTableProvider` with 
`supports_filters_pushdown` return value equal to 
`Ok(vec![TableProviderFilterPushDown::Unsupported])`
   
   Datasource does not have any filter possibilities except limit and offset 
functions.


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

Reply via email to