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: 

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? ​

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