rdblue commented on code in PR #6515:
URL: https://github.com/apache/iceberg/pull/6515#discussion_r1060857712
##########
python/tests/io/test_pyarrow.py:
##########
@@ -1014,7 +1014,7 @@ def test_projection_nested_new_field(file_struct: str) ->
None:
result_table = project(schema, [file_struct])
for actual, expected in zip(result_table.columns[0], [None, None, None]):
- assert actual.as_py() == {"null": expected}
+ assert actual.as_py() == expected
Review Comment:
I think this change is incorrect. There is a non-null location in every row
so there should be a non-null struct for each result. The null/None value is
the "null" column that doesn't exist.
--
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]