Skip to content

Include dashboard task creation in AI/BI dashboard DABs tutorial#81

Merged
pietern merged 4 commits intodatabricks:mainfrom
isabellalyu-db:yi-lyu_data/REDASH-7445
May 23, 2025
Merged

Include dashboard task creation in AI/BI dashboard DABs tutorial#81
pietern merged 4 commits intodatabricks:mainfrom
isabellalyu-db:yi-lyu_data/REDASH-7445

Conversation

@isabellalyu-db
Copy link
Copy Markdown
Contributor

@isabellalyu-db isabellalyu-db commented May 6, 2025

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

@isabellalyu-db
Copy link
Copy Markdown
Contributor Author

Hi @pietern , thanks for the comment here. Could i get another reivew? TY

@isabellalyu-db isabellalyu-db requested a review from pietern May 20, 2025 04:21
@pietern pietern requested a review from juliacrawf-db May 20, 2025 16:14
dashboard_task:
subscription:
subscribers:
- user_name: "test@gmail.com" # Replace this with the email of snapshot subscriber email
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, thanks for the suggestion. I'll start with ${workspace.current_user.userName} here for now.

@pietern
Copy link
Copy Markdown
Contributor

pietern commented May 20, 2025

@isabellalyu-db Thank you!

@juliacrawf-db Could you take a look at the README suggestions?

@pietern
Copy link
Copy Markdown
Contributor

pietern commented May 23, 2025

@isabellalyu-db Thank you!

@pietern pietern merged commit 6d5d8ca into databricks:main May 23, 2025
1 check passed
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.

3 participants