Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
spark123
Frequent Visitor

SHOW PARTITIONS on OneLake-based Delta tables in Fabric

Hello,


I am trying to use SHOW PARTITIONS on a partitionned delta table but i am facing this error, i also tried to use the deltalake library but it doesnt work

did anybody face this error ?

PS : [THE TABLE IS PARTITONNNED]

 

image.png
[INVALID_PARTITION_OPERATION.PARTITION_MANAGEMENT_IS_UNSUPPORTED] The partition command is invalid. Table spark_catalog.chimcob***fe9ln6s31cdi*****************6pavcpq70nr1d******4li64ro.tbl_sales_****_bronze does not support partition management.; line 1 pos 16; ShowPartitions [partition#726] +- ResolvedTable org.apache.spark.sql.delta.catalog.DeltaCatalog@64a60cb8, chimcob Time: Wed Jan 21 01:30:30 UTC 1970 Last Access: UNKNOWN Created By: Spark Type: MANAGED Provider: delta Comment: Delta table auto-discovered from Onelake

2 ACCEPTED SOLUTIONS
v-lgarikapat
Community Support
Community Support

Hi @spark123 ,

 

Thanks for reaching out to the Microsoft Fabric Community Forum.

Based on the error screenshot you provided

It looks like Delta tables in Microsoft OneLake/Fabric do not support explicit partition management using SHOW PARTITIONS. Unlike traditional Hive-style partitioned tables, Delta Lake manages partitions automatically, which means direct partition manipulation commands aren’t available.

Workarounds

Using DeltaLake Python API

from delta.tables import DeltaTable

dt = DeltaTable.forName(spark, "your_table")

dt.detail().show()

DESCRIBE DETAIL your_table;

Use SQL to get distinct partition values:

SELECT DISTINCT partition_column_name FROM LakehouseCatalogName.schemaName.tableName;

SELECT DISTINCT partition_column FROM your_table;

I have included resolved community threads and official learning resources that may be helpful to you

 

SQL Analytics Endpoint Performance Considerations - Microsoft Fabric | Microsoft Learn

Lakehouse and Delta tables - Microsoft Fabric | Microsoft Learn

Solved: Add partition to existing Delta Table - Microsoft Fabric Community

Solved: Re: Seeking partition strategy - Microsoft Fabric Community

 

Best Regards,

Lakshmi Narayana

View solution in original post

Hi @spark123 ,

As we haven't heard back from you, we are closing this thread. If you are still experiencing the issue, please feel free to create a new thread we’ll be happy to assist you further.

Thank you for your patience and support.

If you found our response helpful, please mark it as Accepted Solution so others with similar queries can find it easily.

 

Best Regards,

Lakshmi Narayana

View solution in original post

4 REPLIES 4
v-lgarikapat
Community Support
Community Support

Hi @spark123 ,

 

Thanks for reaching out to the Microsoft Fabric Community Forum.

Based on the error screenshot you provided

It looks like Delta tables in Microsoft OneLake/Fabric do not support explicit partition management using SHOW PARTITIONS. Unlike traditional Hive-style partitioned tables, Delta Lake manages partitions automatically, which means direct partition manipulation commands aren’t available.

Workarounds

Using DeltaLake Python API

from delta.tables import DeltaTable

dt = DeltaTable.forName(spark, "your_table")

dt.detail().show()

DESCRIBE DETAIL your_table;

Use SQL to get distinct partition values:

SELECT DISTINCT partition_column_name FROM LakehouseCatalogName.schemaName.tableName;

SELECT DISTINCT partition_column FROM your_table;

I have included resolved community threads and official learning resources that may be helpful to you

 

SQL Analytics Endpoint Performance Considerations - Microsoft Fabric | Microsoft Learn

Lakehouse and Delta tables - Microsoft Fabric | Microsoft Learn

Solved: Add partition to existing Delta Table - Microsoft Fabric Community

Solved: Re: Seeking partition strategy - Microsoft Fabric Community

 

Best Regards,

Lakshmi Narayana

Hi @spark123 ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "Accept as Solution" so other members can easily find it.

 

Best Regards,

Lakshmi Narayana

Hi @spark123 ,

 

 If your issue has been resolved, please consider marking the most helpful reply as the accepted solution. This helps other community members who may encounter the same issue to find answers more efficiently.

If you're still facing challenges, feel free to let us know we’ll be glad to assist you further.

Looking forward to your response.

Best regards,
LakshmiNarayana.

Hi @spark123 ,

As we haven't heard back from you, we are closing this thread. If you are still experiencing the issue, please feel free to create a new thread we’ll be happy to assist you further.

Thank you for your patience and support.

If you found our response helpful, please mark it as Accepted Solution so others with similar queries can find it easily.

 

Best Regards,

Lakshmi Narayana

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.