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:ย 

Error Querying Shallow Clones: Couldn't Initialize File System for Path

schluca
New Contributor II

Hi,

We are offering data products through a central catalog for our users. To minimize data duplication and to display relationships between tables, we use shallow clones to provide access to the data.

However, since implementing this approach, we occasionally encounter the following error when querying a shallow clone:

Couldn't initialize file system for path abfss://<path>.snappy.parquet

Has anyone else experienced this issue? If so, do you know how to prevent or resolve it?

Thank you!

1 REPLY 1

TakuyaOmi
Valued Contributor

Hi @schluca ,
Iโ€™ve encountered an issue where an error occurred when trying to reference a table after deleting and recreating the source table for a Shallow Clone, and then performing the Shallow Clone again. As a solution, try deleting the destination table of the Shallow Clone and then running the Shallow Clone process again.

%sql
DROP TABLE shallowclone_test.testschema.clonned_table;

CREATE OR REPLACE TABLE shallowclone_test.testschema.clonned_table 
SHALLOW CLONE shallowclone_test.testschema.original_table;

 

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