cancel
Showing results for 
Search instead for 
Did you mean: 
Data Governance
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.