We have a lot of spark sql scripts where the table and field names are not in the correct CASE which is causing these spark notebooks to fail. Can we turn off the Case Sensitivity for spark sql?
4 Comments
- yor_braakmanNew Member
Please adhere to the standard for open source.
For example: “jack” can be used as a verb, meaning to lift or raise something with a jack (e.g., “to jack up a car”).
On the other hand, “Jack” with a capital “J” is typically a proper noun, often used as a name.
These are different sort of words.
If anyone wants to diverge from the standard they can easily add this code:
spark.conf.set('spark.sql.caseSensitive', False)
There's a lot of material out there on collation.
You do not want to force case insensitivity on the rest of the world in 2024.
- fbcideas_migusrNew Member
I find the argument against being case insensitive a bit ludicrous. The general de facto "standard" in SQL is actually to be case insensitive on both table and column names.
For some reason, Apache Spark is inconsistent here and is only case insensitive on column names, at least by default.
The Microsoft world view is more human-friendly and is generally case insensitive across the board. So, Microsoft should definitely be consistent here and be case insensitive by default.
Of course, one can make things more restrictive if they want, but in general default settings should appeal to the majority and not the exception.
- nishalitNew MemberThis is a standard for open source Spark, but the Fabric product group considers the idea worthwhile but it has not been planned yet. The community is encouraged to continue voting and the product team will regularly review these ideas at planning.
- fbcideas_migusrNew MemberStatus added:Needs Votes
Recent ideas
Productivity Boost: Excel-like Tab Management and Navigation for Power BI Desktop
The Problem: Currently, navigating and organizing report pages in Power BI Desktop becomes inefficient and frustrating when a report has many tabs. The small navigation arrows and the lack of standar...michel_onesti1 hour agoNew MemberNew153Views6likes1CommentOption to Stop Fabric Planning Billing Session After Plan Item Deletion
Currently, a Fabric Planning session remains active for 30 days once triggered. If a user creates a Plan item only for testing and deletes it the next day, the billing session still continues and c...v-dugumarrir11 hour agoMicrosoft EmployeeNew22Views9likes0CommentsAllow selecting specific Fabric items to pull when using Update from Git
I’d like to suggest adding selective item deployment to Microsoft Fabric’s Update from Git experience. Today, when a Fabric workspace is connected to Git, Update from Git is primarily focused on syn...dprenc_elixirr4 hours agoAdvocate INew11Views0likes0CommentsDependency-aware Update from Git operations
I’d like to suggest improving Update from Git in Microsoft Fabric so that it becomes more dependency-aware during deployments. Git deployment can become fragile when multiple Fabric items depend on ...dprenc_elixirr4 hours agoAdvocate INew7Views0likes0CommentsAPI for Get Refresh Schedule of Dataflows
Currently, there is no way to get the actual refresh schedules of dataflows through the API. It is very important to see the coordination of dataflow and dataset refresh schedules. This seems like a...Andrew_Foulk25 hours agoNew MemberNew594Views28likes5Comments