Skip to content

Commit

Permalink
SNOW-1016467 Use canonical absolute path to avoid issues with absolut…
Browse files Browse the repository at this point in the history
…e paths in Windows using ~ short path.
  • Loading branch information
sfc-gh-jmartinezramirez committed Jun 5, 2024
1 parent 9ad51b8 commit e62176c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/net/snowflake/client/jdbc/StatementIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public void testExecuteBatch() throws Exception {
+ getFullPathFileInResource(TEST_DATA_FILE)
+ " @%test_batch auto_compress=false");
File tempFolder = tmpFolder.newFolder("test_downloads_folder");
statement.addBatch("get @%test_batch file://" + tempFolder);
statement.addBatch("get @%test_batch file://" + tempFolder.getCanonicalPath());

rowCounts = statement.executeBatch();
assertThat(rowCounts.length, is(2));
Expand Down

0 comments on commit e62176c

Please sign in to comment.