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


##########
python/tests/catalog/test_rest.py:
##########
@@ -524,9 +523,9 @@ def test_create_table_200(rest_mock: Mocker, 
table_schema_simple: Schema):
         schema=table_schema_simple,
         location=None,
         partition_spec=PartitionSpec(
-            spec_id=1, fields=(PartitionField(source_id=1, field_id=1000, 
transform=TruncateTransform(width=3), name="id"),)
+            PartitionField(source_id=1, field_id=1000, 
transform=TruncateTransform(width=3), name="id"), spec_id=1

Review Comment:
   Looks like the mock causes the result to not match the request. We should 
start testing against the REST catalog servlet as soon as we can.



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