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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
amaaiia
Super User
Super User

Get parquet files being used in current Delta Table version

Hi,

 

Is there any way to get the llist of parquet files that are being used for the current Delta Table version loaded in a notebook? I have a daily overwrited Delta Table, so I have one parquet file by day. I guess the last version is only using last parquet file because I overwrite full table. How can I know programatically the name of that parquet file?

1 ACCEPTED SOLUTION
amaaiia
Super User
Super User

I've reached out the solution.

df.inputFiles()

View solution in original post

4 REPLIES 4
amaaiia
Super User
Super User

I've reached out the solution.

df.inputFiles()
Anonymous
Not applicable

Hi @amaaiia ,

Thanks for using Fabric Community.
In order to provide some suggestions would like to know why are you trying to find the parquet file? Any thing you are trying to do?

If you are looking for optimization - Delta Lake table optimization and V-Order - Microsoft Fabric | Microsoft Learn

If you are looking for versions of the table, you can get the version history.
Docs to refer -
Data versioning using Time Travel feature in Delta Lake | by Prachi Kushwah | Medium
Work with Delta Lake table history | Databricks on AWS

Hope this is helpful. Please let me know you use case if possible, I will try to guide you better.

I'm looking for parquet files because I'm having issues while reading same table from SQL Endpoint and from notebook, different data is shown from each one. So, for testing purposes, I want to check which parquet files are being read from notebook.

Anonymous
Not applicable

Hi @amaaiia ,

Docs - Microsoft Spark Utilities (MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn

vgchennamsft_2-1713169196330.png


From Lakehouse -

vgchennamsft_0-1713170076787.png

 



Inorder to load the parquet file -

vgchennamsft_1-1713169175686.png


Can you check whether this works for you?




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!