Xuanwo commented on code in PR #231:
URL: https://github.com/apache/iceberg-rust/pull/231#discussion_r1519133419


##########
crates/iceberg/src/expr/predicate.rs:
##########
@@ -406,13 +635,239 @@ mod tests {
 
     #[test]
     fn test_predicate_negate_set() {
-        let expression = 
Reference::new("a").is_in(HashSet::from([Datum::long(5), Datum::long(6)]));
+        let expression = Reference::new("a").is_in([Datum::long(5), 
Datum::long(6)]);
 
-        let expected =
-            Reference::new("a").is_not_in(HashSet::from([Datum::long(5), 
Datum::long(6)]));
+        let expected = Reference::new("a").is_not_in([Datum::long(5), 
Datum::long(6)]);

Review Comment:
   Ok, I got it. Predicate itself needs `Reference` inside. It's not something 
like `Result`.



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