Include dashboard task creation in AI/BI dashboard DABs tutorial#81
Merged
pietern merged 4 commits intodatabricks:mainfrom May 23, 2025
Merged
Conversation
pietern
reviewed
May 7, 2025
knowledge_base/dashboard_nyc_taxi/resources/nyc_taxi_trip_analysis.job.yml
Outdated
Show resolved
Hide resolved
knowledge_base/dashboard_nyc_taxi/resources/nyc_taxi_trip_analysis.job.yml
Outdated
Show resolved
Hide resolved
Contributor
Author
|
Hi @pietern , thanks for the comment here. Could i get another reivew? TY |
pietern
reviewed
May 20, 2025
| dashboard_task: | ||
| subscription: | ||
| subscribers: | ||
| - user_name: "test@gmail.com" # Replace this with the email of snapshot subscriber email |
Contributor
There was a problem hiding this comment.
You can make this work out of the box by including ${workspace.current_user.userName}.
That expands to the email address of the current user.
Contributor
There was a problem hiding this comment.
That would be best, but if for whatever reason that change isn't made, it needs to be the approved fake email instead:
Suggested change
| - user_name: "test@gmail.com" # Replace this with the email of snapshot subscriber email | |
| - user_name: "someone@example.com" # Replace this with the email of snapshot subscriber email |
Contributor
Author
There was a problem hiding this comment.
ACK, thanks for the suggestion. I'll start with ${workspace.current_user.userName} here for now.
Contributor
|
@isabellalyu-db Thank you! @juliacrawf-db Could you take a look at the README suggestions? |
pietern
approved these changes
May 23, 2025
Contributor
|
@isabellalyu-db Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After the introduction of dashboard task in jobs UI, including it in the DABs tutorial to demonstrate the usages.
currently dashboard task in jobs is officially available in UI/SDK/TF/DABs.
TF doc: https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job#dashboard_task-1
SDK doc: https://docs.databricks.com/api/workspace/jobs/create