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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rxt
Helper I
Helper I

Fabric Shortcut ADLSG2 SQL endpoint displaying only most latest data

I have created a fabric shortcut to ADLSG2 folder. when I run a sql endpoint it only displays the most latest data even though we have more data in adlsg2.  here is an example, calling a fabric SQL endpoint 

rxt_0-1722611951739.png

syanpse SQL call to adlsg2 with delta format 

 

but we know we do have alot more data in the adlsg2 and when you do a parquet format

 

how can we get all the data(historic data) in fabric instead of just the most latest one ? instead of creating shortcut do I need to import data in to fabric table ? it is obious that fabric table are call fabric delta tables, but I need to have all the data for the analytics purposes. Any guidance or though would be really appriciated.

1 ACCEPTED SOLUTION
rxt
Helper I
Helper I

Thank you guys for quick responses. Being new guy in fabric space, my question may not have made sense. But I did figure out the solution. Just incase somebody have similar issue, how I solved my issue.

It appears that when you create shortcut from azure adlsg2

Instead of creating shortcut directly into table, it should first create shortcut from the files only then it allows to select the option type parquet or delta.

rxt_0-1722952469576.png

and change the option type to parquet.

Only then you load the table from file.

rxt_1-1722952764231.png

 

That did the trick for me. now all my historical data are displayed from sql endpoint when I access the lakehouse table. I hope it will be helpful to someone in the future.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

HI @rxt,

For you scenario, I'd like to suggest you to use dataflow/data pipeline to copy data from ADLS Gen2 to fabric lakehouse instead of use shortcut. (shortcut work as its name, it is point to the file path instead of getting all data to the lake house side)

Regards,

Xiaoxin Sheng

rxt
Helper I
Helper I

Thank you guys for quick responses. Being new guy in fabric space, my question may not have made sense. But I did figure out the solution. Just incase somebody have similar issue, how I solved my issue.

It appears that when you create shortcut from azure adlsg2

Instead of creating shortcut directly into table, it should first create shortcut from the files only then it allows to select the option type parquet or delta.

rxt_0-1722952469576.png

and change the option type to parquet.

Only then you load the table from file.

rxt_1-1722952764231.png

 

That did the trick for me. now all my historical data are displayed from sql endpoint when I access the lakehouse table. I hope it will be helpful to someone in the future.

SachinNandanwar
Super User
Super User

You are doing a select count(*) which would return the count from the table which is 10111 or am I missing something ?



Regards,
Sachin
Check out my Blog
frithjof_v
Super User
Super User

Could you explain a bit more what you mean by get all the historic data?

 

Do you mean time travel functionality? (e.g. %%sql SELECT * FROM tableName VERSION AS OF 1)

In that case, you need to use Notebook instead of SQL Analytics Endpoint.

 

In a Notebook, you could also use this code %%sql DESCRIBE HISTORY tableName; in order to verify the version history of the table.

 

Can you confirm that you have a delta table in ADLS Gen2, and that you created the shortcut in the Table section of a Fabric Lakehouse?

 

Can you share a screenshot of the table name inside the Fabric Lakehouse? I'm interested to see if it has the proper Delta triangle icon and Shortcut icon. (Remember to not show any sensitive information).

 

Can you also confirm whether your Fabric Lakehouse has schema (preview) enabled? Because I see you have [dbo] in your query. SQL Analytics Endpoint doesn't work with Fabric Lakehouse which has schema (preview) enabled. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.