cancel
Showing results for 
Search instead for 
Did you mean: 
Databricks Free Trial Help
Engage in discussions about the Databricks Free Trial within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error while creating external delta table in Databricks

Siddalinga
New Contributor

I am getting below error while creating external delta table in Databricks, even there is a external location created.

[NO_PARENT_EXTERNAL_LOCATION_FOR_PATH] No parent external location was found for path 'abfss://destination@datalakeprojectsid.dfs.core.windows.net/salesdb/Person'. Please create an external location on one of the parent paths and then retry the query or command again.

%sql
CREATE TABLE Sales.Person
(
  id INT,
  name STRING,
  marks INT
)
USING DELTA
LOCATION 'abfss://destination@datalakeprojectsid.dfs.core.windows.net/salesdb/Person'
2 REPLIES 2

Takuya-Omi
Valued Contributor III

@Siddalinga 

If the path specified during table creation is outside the scope of the external location, you may encounter the [NO_PARENT_EXTERNAL_LOCATION_FOR_PATH] error.
Is the external location correctly defined to scope the directory, such as abfss://destination@datalakeprojectsid.dfs.core.windows.net/salesdb, including the salesdb subdirectory?

Please double-check to ensure the external location is properly configured.

--------------------------
Takuya Omi (尾美拓哉)

saisaran_g
Contributor

Hello @Siddalinga,

Is the issue fixed ? If not please check below options : 

1. external location is created in databricks with proper service account or service principle ? 

2. Or any storage location is attached with proper service account. ?

Above 2 methods will establish the connection between databricks VM with external stroage connectivity. 

Happy learning.
Saran

Happy Learning and solve new errors :
Saran

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now