Forum Discussion
J_Fad
5 months agoFrequent Visitor
Fabric Warehouse - table versions
Hello, Is there an easy t-sql way to view list of versions of delta table in MS-Fabric Warehouse database? Like we have in spark with "describe history ..." ? I know what there's a way to get it a...
- 5 months ago
Hello J_Fad,
yup, so far missing this functionality in T-SQL experience. However you can do it using spark sql in the notebook.
Attach your warehouse to the notebook and query it using 4 part path
%%sqlDESCRIBE HISTORY <workspace>.<warehouse>.<schema>.<table>SELECT * FROM <schema>.<table> OPTION (FOR TIMESTAMP AS OF 'desired timestamp')
https://learn.microsoft.com/en-us/fabric/data-warehouse/time-travel
Not that trivial, but seem we will get some updates in the future.
frithjof_v
5 months agoCommunity Champion
I made an Idea for it: https://community.fabric.microsoft.com/t5/Fabric-Ideas/DESCRIBE-HISTORY-in-Fabric-Warehouse-table-versions-time-travel/idi-p/5137019