cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks

Gk
New Contributor III

Hi Ayapanday,

How can check soure path in databricks​

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

@Govardhana Reddy​ : You can use the dbutils.fs.ls() command to get the source path in Databricks.

dbutils.fs.ls("dbfs:/path/to/source/directory")

Make sure to replace "/path/to/source/directory" with the actual path to the source directory you want to check. This command will return a list of file information objects that includes the name, path, size, and modification time of each file in the directory. You can use this information to verify that the source files are located in the correct directory.

View solution in original post

6 REPLIES 6

Anonymous
Not applicable

@Govardhana Reddy​ : You can use the dbutils.fs.ls() command to get the source path in Databricks.

dbutils.fs.ls("dbfs:/path/to/source/directory")

Make sure to replace "/path/to/source/directory" with the actual path to the source directory you want to check. This command will return a list of file information objects that includes the name, path, size, and modification time of each file in the directory. You can use this information to verify that the source files are located in the correct directory.

Gk
New Contributor III

What is the difference between data lake and Delta lake?

Gk
New Contributor III

Q2. How can we create Delta table and how can we delete?

Anonymous
Not applicable

Hi @Govardhana Reddy​ 

Thank you for your question! To assist you better, please take a moment to review the answer and let me know if it best fits your needs.

Please help us select the best solution by clicking on "Select As Best" if it does.

Your feedback will help us ensure that we are providing the best possible service to you.

Thank you!

Gk
New Contributor III

Hi Khanna,

What is the difference between data lake and Delta lake?

Gk
New Contributor III

Q2:how to create Delta table and how can we delete? ​

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.