Hi,
It would be great to have lakehouse and warehouse support different collations, specifically case sensitive and case insensitive.
At the moment we are able to create objects that are named the same but in different casing, this can be confusing.
e.g DimProduct, dimproduct, and Dimproduct can all be created.
16 Comments
- fbcideas_migusrNew Member
Case sensitivity is going to be a MAJOR obstacle to adoption in our environment. We don't have case sensitive data in all sources and trying to make everything case sensitive to migrate to fabric lakehouse / warehouse will be a major undertaking with no appreciable value to the end user or the business for the efforts involved.
- RSteinke1New Member
Case sensitivity is going to be a MAJOR obstacle to adoption in our environment. We don't have case sensitive data in all sources and trying to make everything case sensitive to migrate to fabric lake house / warehouse will be a major undertaking with no appreciable value to the end user or the business for the efforts involved.
- greg30New Member
I see case-sensitivity in areas of Fabric as a serious mistake, particularly given the target audience.
https://blog.greglow.com/2018/01/23/opinion-case-sensitivity-pox-computing/
It's not just case sensitivity though. One thing that Fabric could have been is a unifying experience, yet today, each part of it has diferent rules for naming, etc. This should not have occured. It is a lost opportunity to make things easier for users.
- greg_gallowayNew Member
I hope it means case-insensitive options on columns (the data in a table) and in Direct Lake semantic models.
- nickc1New Member
Want to second the input on being able to do case-insensitive sql for columns as well. The performance of specifying COLLATE Latin1_General_CI_AI in the where clause is awful and not as easy to pick up for some users. Thank you for working on this feature, we greatly appreciate it.
- fbcideas_migusrNew Member
Glad to hear that you are working on this feature. Wanted to throw out there - it would be a nice option to be able to configure a default collation for all objects at the tenant and/or workspace level.
- fbcideas_migusrNew Member
If we want any level of consistency in the behavior, we should look the Spark SQL standard, which says "identifiers are case-insensitive". Having collation options would be a plus, but at a minimum we should stick with standards as the default.
- fbcideas_migusrNew Member
Here's the reference documenting that "identifiers are case-insensitive" in Spark SQL, which ought to be a guide for Fabric as well: https://spark.apache.org/docs/latest/sql-ref-identifier.html
Further, SQL Server's default behavior in the US is to treat SQL identifiers as case-insensitive: SQL_Latin1_General_CP1_CI_AS. https://learn.microsoft.com/en-us/sql/relational-databases/collations/set-or-change-the-server-collation
- fbcideas_migusrNew Member
The Fabric Roadmap seems to indicate this will be available for Warehouses in Q3 2024:
- https://learn.microsoft.com/en-us/fabric/release-plan/data-warehouse#case-insensitive-collation-support
Hopefully the same is coming for Lakehouses??
Case insensitive collation support (in Warehouse)
Estimated release timeline: Q3 2024
Using the public REST APIs to create a Data Warehouse includes a new option to set the default collation. This can be used to set a new Case Insensitive Collation default. You'll also be able to use the COLLATE command with CREATE TABLE to directly control which collation your VARCHAR fields use. The two supported collations are Latin1_General_100_CI_AS_KS_WS_SC_UTF8 (which is Case Insensitive) and Latin1_General_100_BIN2_UTF8 (which is Case Sensitive) and continues to be our default.
- fbcideas_migusrNew Member
Are there any plans to implement it on Lakehouse? I know that Warehouse is more complete than Lakehouse when speaking about T-SQL, but it would be great to have it on Lakehouse too.
Recent ideas
Disable auto-restore previous session's tabs in new Fabric sessions
Description: Since a recent update, starting a new Fabric session — for example by opening Fabric in a new browser tab — automatically reopens all the item tabs that were left open from a previous s...MathieuVr2 hours agoFrequent VisitorNew56Views5likes1CommentExported PDF from PowerBI to not have any indents/borders
Currently, using the "Export to PDF" option in PowerBI results in two consistently buggy results: A white border/indent is generated, increasing the size of the page from 8.5x11 to 9x11.5 Sometime...EliShalev5 hours agoNew MemberNew10Views0likes0CommentsAdding a Container for Logical Grouping of Activities in Data Pipelines
Dear Team, I would like to propose a feature enhancement for Data Pipelines in Microsoft Fabric that allows the logical grouping of activities into a container. This container would serve to: Im...lukas_karlovsky6 hours agoNew MemberPlanned876Views15likes5Comments