rdblue commented on code in PR #6140:
URL: https://github.com/apache/iceberg/pull/6140#discussion_r1015882570


##########
python/tests/expressions/test_visitors.py:
##########
@@ -912,19 +902,11 @@ def test_manifest_evaluator_less_than_no_match():
             upper_bound=_to_byte_buffer(StringType(), "b"),
         )
     )
+    assert not _ManifestEvalVisitor(string_schema, expr).eval(manifest)
 
-    assert not _create_manifest_evaluator(expr).eval(manifest)
-
-
-def test_manifest_evaluator_less_than_or_equal_no_overlap():
-    expr = BoundLessThanOrEqual(
-        term=BoundReference(
-            field=NestedField(field_id=1, name="foo", field_type=StringType(), 
required=False),
-            accessor=Accessor(position=0, inner=None),
-        ),
-        literal=StringLiteral("c"),
-    )
 
+def test_manifest_evaluator_less_than_or_equal_no_overlap(string_schema: 
Schema):
+    expr = LessThanOrEqual[str](Reference("col_str"), StringLiteral("c"))

Review Comment:
   I think this should be `<= "a"` to test that the boundary is used.



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