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

Create table using a location

New Contributor


Databricks newbie here. I have copied delta files from my Synapse workspace into DBFS. To add them as a table, I executed.
create table audit_payload using delta location '/dbfs/FileStore/data/general/audit_payload'

The command executed properly. However, the SELECT on the table gives
[DELTA_READ_TABLE_WITHOUT_COLUMNS] You are trying to read a Delta table `spark_catalog`.`default`.`audit_payload` that does not have any columns.

How can I bring the table with all the column mapping




Esteemed Contributor III

can you read the delta lake files using"delta").load("path/to/delta/table")?
If not, it is not a valid delta lake table, which is my guess as creating a table from delta lake is nothing more than a semantic wrapper around the actual files.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!