a-agmon commented on PR #588: URL: https://github.com/apache/iceberg-rust/pull/588#issuecomment-2323283411
you can see what I mean in this test case: ```rust #[test] fn test_predicate_conversion_with_unsupported_condition_or() { let sql = "(foo > 1 and bar in ('test', 'test2')) or foo < 0 "; let df_schema = create_test_schema(); let expr = SessionContext::new() .parse_sql_expr(sql, &df_schema) .unwrap(); let predicate = convert_filters_to_predicate(&[expr]).unwrap(); let expected_predicate = Predicate::or( Reference::new("foo").greater_than(Datum::long(1)), Reference::new("foo").less_than(Datum::long(0)), ); assert_eq!(predicate, expected_predicate); } ``` although we don't support `bar in ('test', 'test2')` there is no reason to fail the entire conversion and not let you enjoy filtering files according to what we can support. Do you see my point here? or perhaps I misunderstood your comment -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org