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: 

Can't create table in unity catalog.

RyoAriyama
New Contributor

Hi all.

I have created a Databricks workspace on AWS. I can log into the workspace and successfully perform select operations on files in S3, but I am unable to create tables.The error when creating the table is as follows.

 

"Your request failed with status FAILED: [BAD_REQUEST] com.databricks.sql.managedcatalog.UnityCatalogServiceException: [RequestId=<request-id>ErrorClass=TABLE_DOES_NOT_EXIST.RESOURCE_DOES_NOT_EXIST] Table '<table-id>' does not exist."

 

Upon checking the S3 bucket for the metastore, I found that a directory named metastore/<metastore-id>/tables/<table-id> was created, but there were no files inside it.

I set up the VPC as per the following documentation: https://docs.databricks.com/en/security/network/classic/customer-managed-vpc.html

And I configured the IAM settings according to this documentation: https://docs.databricks.com/en/connect/unity-catalog/storage-credentials.html

If you have any suggestions for a solution or things I should try, I would appreciate your advice.

Thanks

Ryo

1 REPLY 1

RyoAriyama
New Contributor

I attach the screenshot when I encounter the error.

 

 

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