stevenzwu commented on code in PR #16549:
URL: https://github.com/apache/iceberg/pull/16549#discussion_r3295071976


##########
open-api/src/testFixtures/java/org/apache/iceberg/rest/RESTCatalogServer.java:
##########
@@ -92,7 +92,7 @@ private CatalogContext initializeBackendCatalog() throws 
IOException {
     if (warehouseLocation == null) {
       File tmp = 
java.nio.file.Files.createTempDirectory("iceberg_warehouse").toFile();
       tmp.deleteOnExit();
-      warehouseLocation = new File(tmp, "iceberg_data").getAbsolutePath();
+      warehouseLocation = new File(tmp, "iceberg_data").toURI().toString();

Review Comment:
   Either we fix the RESTCatalogServer behavior in the file path, or we have to 
[handle the path with and without 
scheme](https://github.com/apache/iceberg/pull/16549/changes/5864e065daf53967cbf888267f3dd3224b8acbbb)
 in read.



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