emkornfield commented on a change in pull request #3965:
URL: https://github.com/apache/iceberg/pull/3965#discussion_r793242369
##########
File path: python/tests/test_types.py
##########
@@ -129,6 +150,11 @@ def test_map_type():
assert isinstance(type_var.value.type, UUIDType)
assert type_var.value.field_id == 2
assert str(type_var) == str(eval(repr(type_var)))
+ assert type_var == eval(repr(type_var))
+ assert type_var != MapType(
+ NestedField(True, 1, "optional_field", LongType()),
+ NestedField(False, 2, "required_field", UUIDType()),
+ )
Review comment:
should there be another test case to test inequality of the Value
NestedField as well?
--
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]