Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
So Microsoft Fabric goes through a lot of trouble to abstract and provide a programming model that is similar to normal SQL stored procedures. However, session scoped temporary tables (SQL_Latin1_General_CP1_CI_AS) are created in a collation different to that of an underlying warehouse (Latin1_General_100_BIN2_UTF8). Now I accept the explanation that the underlying engine used for session scoped temporary tables is different. What I don't accept is how an actraction has leaked into the programming model forcing developers to either manually specify collation at create or join time or create the table with distribution. The default should be to accept parallelism and create #temp tables with distribution instead of opting in (unless someone can enlighten me with an opposing argument.)
Solved! Go to Solution.
Hi @WLY168,
Thank you for reaching out to the Fabric Forum.
To help address your question, please refer to the attached documentation below. These resources provide detailed guidance and should clarify the behavior you are experiencing.
If you have any further questions after reviewing the documents, feel free to follow up here and we’ll be glad to assist.
Data Warehouse collation - Microsoft Fabric | Microsoft Learn
Set or Change the Column Collation - SQL Server | Microsoft Learn
Thanks,
Lakshmi.
hi @WLY168 there are two types of temp tables in fabric, Non-distributed (default type) and Distributed.
Distributed temp tables defaults to the default db collation type.
here is a link to a blog post with detail on the differences and more detail:
Hi @WLY168,
Thank you for reaching out to the Fabric Forum.
To help address your question, please refer to the attached documentation below. These resources provide detailed guidance and should clarify the behavior you are experiencing.
If you have any further questions after reviewing the documents, feel free to follow up here and we’ll be glad to assist.
Data Warehouse collation - Microsoft Fabric | Microsoft Learn
Set or Change the Column Collation - SQL Server | Microsoft Learn
Thanks,
Lakshmi.
Hi @Wikkleyn_81 “Thanks for your prompt responses.
Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further
Thanks,
Lakshmi
@WLY168 Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further
Thanks,
Lakshmi
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 3 | |
| 3 |