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: 

Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to wr...

pvignesh92
Honored Contributor

Very often, we need to know how many files my table path contains and the overall size of the path for various optimizations. In the past, I had to write my own logic to accomplish this.

Delta Lake is making life easier. See how simple it is to obtain this information when your file is saved in delta format.

The delta table object provides the metadata directly accessible in the select query.

Number of files in the path

Total size of the path

Location

CreatedAt

lastModified

partitionColumns

1684878098472

0 REPLIES 0