question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rendering is broken inside Databricks with DBR 11.x and higher - potential fix included

See original GitHub issue

Hello,

lets-plot used to work on Databricks with DBR 10.x (cluster version) and lower and we have customers who love and use it.

However, with DBR 11.x the auto-renderer breaks because it detects the wrong display type. To fix this, customers have to explicitly do LetsPlot.setup_html(isolated_frame=True) because isolated_frame is auto-detected to be False. IMO most likely as part of _detect_isolated_frame.

Databricks can be detected e.g. via "databricks" in str(os.environ) which might be added to https://github1s.com/JetBrains/lets-plot/blob/HEAD/python-package/lets_plot/frontend_context/_html_contexts.py#L68-L69 or similar.

What do you think?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
alshancommented, Sep 21, 2022

@fwetdb I’ve pushed your proposal to master : https://github.com/JetBrains/lets-plot/commit/429e19aa541719b562c3f143f1387850cccad2c2

Luckily we are expecting the next release in few days so the fix is coming really soon.

1reaction
fwetdbcommented, Oct 3, 2022

Hi @alshan Thank you for the reach out and the fast release. I verified that the fix worked as intended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Databricks runtime maintenance updates
Fixed an issue where running MERGE and using exactly 99 columns from the source in the condition could result in java.lang.ClassCastException: org.apache.spark.
Read more >
Databricks runtime maintenance updates - Azure
Fixed a bug with JSON parsing in Auto Loader when all columns were left as strings ( cloudFiles.inferColumnTypes was not set or set...
Read more >
1.1.7 (core) / 0.17.7 (libraries) - Dagster Docs
[dagstermill] Jupyter notebooks now correctly render in Dagit on Windows ... [dagster-databricks] Environment variables used by dagster cloud are now ...
Read more >
Package List — Spack 0.20.0.dev0 documentation
It is automatically generated based on the packages in this Spack version. ... to better interact with the Mac OS X Aqua user...
Read more >
Author Archives - SI Bytes – Shaun Ryan - WordPress.com
1st we're gonna create a corrupt file to load. I'm using databricks for convenience. 1. 2. 3. 4.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found