yihua opened a new pull request, #1098:
URL: https://github.com/apache/hudi-rs/pull/1098

   ## Description
   
   closes #1087
   
   `FilterField::in_list([])` and `not_in_list([])` build a `Filter` without 
the empty-values check that `Filter::new` does, so evaluating one, for example 
through `ReadOptions::filters`, panicked on `values[0]`. An empty `IN` list now 
matches no row and an empty `NOT IN` list matches every row, including nulls, 
in both row filtering and partition pruning. That matches how DataFusion 
simplifies the same expressions.
   
   ## How are the changes test-covered
   
   - [ ] N/A
   - [x] Automated tests (unit and/or integration tests)
   - [ ] Manual tests
     - [ ] Details are described below
   
   A filter test evaluates empty `IN` and `NOT IN` lists on nullable int and 
string columns with a null row; a partition pruner test covers string and int 
partition columns and a null partition. Both panic on main.
   


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