@jin parkโ :
You can use the Databricks Delta Lake SHOW TABLE EXTENDED command to get the size of each partition of the table. Here's an example:
%sql
SHOW TABLE EXTENDED LIKE '<table_name>'
PARTITION (<partition_column> = '<partition_value>')
SELECT sizeInBytes
Replace <table_name> with the name of your Delta table, <partition_column> with the name of your partition column, and <partition_value> with the specific partition value you want to check the size for. If you want to check the size for all partitions, omit the PARTITION clause.
You can also use the DESCRIBE DETAIL command to get similar information:
%sql
DESCRIBE DETAIL <table_name>
This will show you detailed information about the table, including the size of each partition.