snowflake-jdbc icon indicating copy to clipboard operation
snowflake-jdbc copied to clipboard

SNOW-1163212: InvalidPathException on Windows due to Nested file path

Open sfc-gh-ext-simba-jy opened this issue 11 months ago • 0 comments

Overview

SNOW-1163212

Pre-review self checklist

  • [x] PR branch is updated with all the changes from master branch
  • [x] The code is correctly formatted (run mvn -P check-style validate)
  • [x] New public API is not unnecessary exposed (run mvn verify and inspect target/japicmp/japicmp.html)
  • [x] The pull request name is prefixed with SNOW-XXXX:

External contributors - please answer these questions before submitting a pull request. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    • [x] Added conditions in SFConfigParser.java for the network-mounted drive
    • [x] Replaced only the Windows file path with \ and keep the rest as is.
  2. Fill out the following pre-review checklist:

    • [x] I am adding a new automated test(s) to verify correctness of my new code
    • [ ] I am adding new logging messages
    • [ ] I am modifying authorization mechanisms
    • [ ] I am adding new credentials
    • [ ] I am modifying OCSP code
    • [ ] I am adding a new dependency or upgrading an existing one
    • [ ] I am adding new public/protected component not marked with @SnowflakeJdbcInternalApi (note that public/protected methods/fields in classes marked with this annotation are already internal)
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

sfc-gh-ext-simba-jy avatar Mar 22 '24 21:03 sfc-gh-ext-simba-jy