Skip to content

Conversation

@eakmanrq
Copy link
Contributor

@eakmanrq eakmanrq commented Feb 17, 2023

Currently Databricks notebooks have a problem where after 5 minutes of applying a plan the progress bars stop updating. To the user there is no longer a visual indicating of what (if anything) is happening. It seems unacceptable to me.

This solution solves this by having the plan application itself run in the main databricks thread. As a result databricks recognizes that it is running the whole time the plan is applying you will see it finish the different stages at the top of the cell. It also means that you know when it has finished or not based on when the cell is done running. The downside though is that:

  1. The UI now uses the CLI UI (since we can't use callbacks) and therefore it is a lot more clunky to use
  2. Progress bars for the individual models no longer work at all at the bottom of the plan

For now it feels like we are picking our poison here but being able to know that the plan is running or not, and see spark stage updates as it executes, is a much better experience than not knowing what is happening at all even if that means a clunky UI.
Screenshot 2023-02-16 at 6 48 17 PM

@eakmanrq eakmanrq requested review from a team and izeigerman and removed request for izeigerman February 17, 2023 01:04
@eakmanrq eakmanrq force-pushed the eakmanrq/try_block_button branch from f6564cf to 5849dbd Compare February 17, 2023 01:05
@eakmanrq eakmanrq force-pushed the eakmanrq/try_block_button branch from 5fafd3a to b02a344 Compare February 17, 2023 18:40
@eakmanrq eakmanrq merged commit 69a11eb into main Feb 17, 2023
@eakmanrq eakmanrq deleted the eakmanrq/try_block_button branch February 17, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants