cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

getArgument() is not working in DBR 10.4 LTS (Shared Mode) with Unity Catalog

parthsalvi
Contributor

image 

We're trying to use Notebook widgets in DBR LTS 10.4 (Shared Mode) with Unity Catalog

but we're running into following error.

Because of this our notebook dashboard are not working after migrating our data to Unity catalog.

Following is the query

CREATE WIDGET COMBOBOX FileName DEFAULT 'hajsdhkjhas' CHOICES

SELECT distinct table

FROM dev.logs.validation

WHERE domain = getArgument('Domain')

 image 

1 REPLY 1

Aviral-Bhardwaj
Esteemed Contributor III

unity catalog is different and Data science panel is different , in the above notebook you have to use formatted or this widget will work there and in the unity catalog you have to use get argument formatted in the query

AviralBhardwaj

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group