dimas-b commented on code in PR #835:
URL: https://github.com/apache/polaris/pull/835#discussion_r1924225639
##########
integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisSparkIntegrationTest.java:
##########
@@ -179,10 +181,16 @@ public void before(PolarisApiEndpoints apiEndpoints,
ClientCredentials credentia
}
private SparkSession.Builder withCatalog(SparkSession.Builder builder,
String catalogName) {
+ String warehouseLocation = System.getProperty("spark.sql.warehouse.dir");
+ Path warehouseDir =
+ warehouseLocation != null
+ ? Paths.get(warehouseLocation)
+ : Paths.get(System.getProperty("user.dir"), "build", "intTest",
"spark-warehouse");
Review Comment:
How about defaulting to a temp dir managed by JUnit5?
--
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]