fivetran-ahmadalhour commented on code in PR #19143:
URL: https://github.com/apache/iceberg/pull/19143#discussion_r4741808415
##########
open-api/src/test/java/org/apache/iceberg/rest/RESTCompatibilityKitCatalogTests.java:
##########
@@ -179,4 +179,10 @@ public void testUnregisterMissingTable() {
public void createTableInUniqueLocation() {
super.createTableInUniqueLocation();
}
+
+ @Disabled("JSON encoding of non-finite float and double defaults is not yet
in the REST spec")
Review Comment:
It does pass with this fix against the in-repo Java REST server. I just
disabled it only in the compatibility kit because that suite is also meant to
run against external REST servers, and the REST spec doesn't define a JSON
encoding for `NaN` or `infinite` float and double defaults yet. Keeping it
there would require other servers to accept writes in an encoding that isn't
specified.
In the latest commit, I moved the test out of `CatalogTests` into
`TestRESTCatalog` and removed the override. It still covers the REST commit and
reload path, which returned an `HTTP 500` error on `main` branch before this
change. The trade-off is that the InMemory and JDBC catalog runs of the test
are gone. I can add a catalog-specific copy if you'd like that coverage back.
--
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]