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

Location for DB and for specific tables in DB

Mirko
Contributor

The following situation: I am creating a Database with location somewhere in my Azure Lake Gen 2.

CREATE SCHEMA IF NOT EXISTS curated LOCATION 'somelocation'

Then i want a specific Table in curated to be in a subfolder in 'somelocation':

CREATE TABLE IF NOT EXISTS curated.tablename

(

values

)

USING DELTA LOCATION 'somelocation/subfolder'

(I created an empty table)

This results in addition to the desired folders in 'somelocation/subfolder' in the creation of additional folders "somelocation/tablename___PLACEHOLDER__/

Can someone explain why these placholders are created? Do i can just delete these Placholders?

Thank your for your help

1 ACCEPTED SOLUTION

Accepted Solutions

Mirko
Contributor

Hi Piper, i tried it again. This time on 10.2 instead of 9.0. Now it works like desired. But still a little bit strange.

View solution in original post

3 REPLIES 3

Anonymous
Not applicable

Hi, Mirko. Welcome back! Just like the last time, we'll give your peers a chance to respond. We'll come back around if we need to. Thank you for your patience. ๐Ÿ™‚

Mirko
Contributor

Hi Piper, i tried it again. This time on 10.2 instead of 9.0. Now it works like desired. But still a little bit strange.

Anonymous
Not applicable

@Mirko Ludewigโ€‹ - Thanks for letting us know. I don't like strange all that much, but I do like working as desired!

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