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
databricks-connect : Relative path in absolute URI #2883
Comments
The problem seems to be in sparklyr:::spark_normalize_path, Only if the path have "://" (two forward slashes), if will pass the path back as is, otherwise it will run normalizePath op the path. In my case, my path is "dbfs:/......", so it runs normalizePath on my path because it only has one forward slash. |
Sorry, was not meaning to close. Would really like this fixed |
@martindut Yep this is indeed a bug (and I blame it on ppl overlooking rules governing how URIs work in RFC3986). I think #2884 should fix it. |
Thanks for the feedback |
I can succesfully connect to Azure databricks from my local PC, with databricks-connect, but I cannot seem get the path to a mounted Azure Datalake Gen2 working. The code below all works fine if I run it on databricks in a notebook, but running it from my local RStudio doesn't work.
All 3 paths gives me the same error
It seems to try and translate the path to a local path on C:
This code works perfectly, but that's not how I want to run it
I also tried this, but cannot get it working even if I set the configs
I tried setting the configs:
but no luck
First prize will be if I can just get the path to the mounted drive working, if I run the code from my local PC when connected with databricks-connect. Thanks
The text was updated successfully, but these errors were encountered: