-
Notifications
You must be signed in to change notification settings - Fork 170
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 #1651
Comments
Hello @dhrudevaliasolidatus, Thank you for raising this issue, we're taking a look. Regards, |
Hello @dhrudevaliasolidatus , We confirmed this gap and will work on eliminating it. Will keep this thread posted. Regards, |
Hello @dhrudevaliasolidatus , The fix has been delivered in JDBC 3.15.1, could you please check and let us know if anything. Regards, |
closing this issue as there's no feedback; we assume it's working as expected now. |
I just tried out 3.16.0 and the problem is still present:
|
Apologies for the delay. I can confirm this issue is still present. @sfc-gh-snow-drivers-warsaw-dl @sfc-gh-dszmolka can this ticket be reopened please. |
thanks for the feedback; reopened and we'll look further |
PR open for review: #1763 i'll keep this thread updated with PR review / release activities. |
PR is now merged, and will be part of the next upcoming release cycle, towards end of May 2024 |
fix released with May 2024 release cycle, version 3.16.1 |
What version of JDBC driver are you using?
3.14.5
What operating system and processor architecture are you using?
Windows 10 x64
What version of Java are you using?
17.0.10 OpenJDK
What did you do?
Customer using the Snowflake driver as part of our product.
When attempting to create the datasource the following error is thrown:
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
Expected to Snowflake driver connect to datasource and retrieve metadata.
Can you set logging to DEBUG and collect the logs?
N/A customer execution.
What is your Snowflake account identifier, if any? (Optional)
n/a Customer instance.
Issue
This issue seems to be a similar problem to #1405.
We have figured out a work around by creating a different sf_client_config and setting it's path using the connection parameter method, however this is still a bug.
In the code SFClientConfigParser.java function getConfigFilePathFromJDBCJarLocation, the error seems to be thrown because the windows path is
nested://
the full path isnested:\C:\<OBFUSCATED>\!BOOT-INF\lib\sf_client_config.json
. Best guess would be that the following:Needs an additional
else if
for thenested://
prefix. The nested prefix is resulted from a mounted windows instance from a corporate network.The text was updated successfully, but these errors were encountered: