Closed jklap closed 9 months ago
@jingyimei @alexjinghn
Actually at this point, 13.0 is more important for us :)
So changed the issue from 12.0 & 12.1 to 13.0!
I am also looking for this runtime release.
I'm also looking for this since I need python 3.10. @xinzhao-db -- it looks like you've been working on support for that with commit 759f05d. Are there any instructions for using that?
I put together a 13.x dockerfile based on @xinzhao-db 's changes: https://gist.github.com/mdagost/271251c7ece8f5376d65f3c84e37c790
The image is here: https://hub.docker.com/r/mdagost/databricksruntime
It appears to work for me on a cluster with 13.0. YMMV.
I put together a 13.x dockerfile based on @xinzhao-db 's changes:
@mdagost I got the following error when using this docker image
Command
%python
catalog = 'prod'
sql(f"USE CATALOG '{catalog}'")
No idea, but the sql
function works for me in a notebook:
display(sql(f"SELECT * FROM {table}"))
It might depend on what language type your notebook is. python or scala or sql?
Given that @alexiswl had an f-string in his code, I assumed it was python. My snippet that works is a python notebook.
Given that @alexiswl had an f-string in his code, I assumed it was python. My snippet that works is a python notebook.
Yes was python, have updated to be clearer. I was also running as a job, not sure if that makes a difference.
I am getting similar error as alexiswl, also running as a job. Did you find a solution @alexiswl ?
If I try it on a 13.0 cluster, everything works fine
Yes I think that may have been my issue and I was originally running on a 12 LTS cluster. I just ended up using the 12 LTS instead of 13.
In an attempt to get someone at Databricks to answer this issue, I have opened up a discussion here as well: https://community.databricks.com/t5/community-discussions/cannot-use-docker-container-with-runtime-13-1-and-above/m-p/39085#M1073
For some reason 13.1 and 13.2 runtimes do not support Dockerimages the way they used to work.
For me this issue has been fixed by the way in the 13.3LTS release.
Close, we publish changes when releasing DBR LTS version
Please create a branch for these latest runtimes. Thanks!