cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Query with SHOW and Describe command not working in Databricks Dashboard

Anmol_Chauhan
New Contributor II

Hi Folks,

I am trying to retrieve table properties of delta table in Databricks dashboard data editor but getting error message.

It seems like describe and show command not working with dashboard editor as Query is working fine in sql editor and notebooks.

Please refer below query and screenshot:

Query: 

show tblproperties catalog.schema.tab_test;
Error:
[PARSE_SYNTAX_ERROR] Syntax error at or near 'tblproperties'. SQLSTATE: 42601 (line 1, pos 20) == SQL 

Anmol_Chauhan_1-1739806218544.png

Please help me to resolve this issue.

 

 

1 REPLY 1

Advika_
Databricks Employee
Databricks Employee

Hello @Anmol_Chauhan!

Dashboard Data Editor is designed for querying and working with datasets to create dashboard visualizations. However, outputs from commands like show, describe, or explain are not valid as datasets, which is why the query does not work in this editor.
For retrieving table properties or other metadata, the SQL Editor or Notebooks would be a better option, as they support such queries.

You can find more details on how datasets work in the Dashboard Data Editor here: https://docs.databricks.com/aws/en/dashboards/datasets and https://learn.microsoft.com/en-gb/azure/databricks/dashboards/datasets/

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