Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 8 commits into from
Apr 3, 2024

Conversation

sfc-gh-ext-simba-jy
Copy link
Collaborator

@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy commented Mar 22, 2024

Overview

SNOW-1163212

Pre-review self checklist

  • PR branch is updated with all the changes from master branch
  • The code is correctly formatted (run mvn -P check-style validate)
  • New public API is not unnecessary exposed (run mvn verify and inspect target/japicmp/japicmp.html)
  • 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.

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

    • 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 sfc-gh-ext-simba-jy requested a review from a team as a code owner March 22, 2024 21:48
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy changed the title added network driver path condition SNOW-1163212: Added network driver path condition Mar 23, 2024
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy enabled auto-merge (squash) April 1, 2024 16:31
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy changed the title SNOW-1163212: Added network driver path condition SNOW-1163212: InvalidPathException on Windows due to Nested file path Apr 1, 2024
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy merged commit 3e086e0 into master Apr 3, 2024
35 checks passed
@sfc-gh-ext-simba-jy sfc-gh-ext-simba-jy deleted the invalidpathexception branch April 3, 2024 08:35
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants