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
Fabric Pipeline should run as workspace identity
Currently, Microsoft Fabric pipelines run under the identity of the last user who modified them, which can cause disruptions when tenant administrators make changes to security policies, such as enab...pellitteris1 minute agoAdvocate IINew1.3KViews27likes3CommentsBring Back separating Power BI artifacts on a per web page basis
Previously, the ability to have different artifacts open on different web tabs was enabled. This was beneficial if you wanted to differentiate what environments you were in, working across three diff...zoe-dean1 hour agoNew MemberNew45Views8likes0CommentsREST API Should expose credentials used in connections
When a consultant leaves a client, it's important to clean up any connections that may have the consultants credentials embedded within. I'm able to use the Fabric CLI to get the managed connections ...PeterDaniels1 hour agoAdvocate IIINew18Views6likes0CommentsExpose full activity-level error details in Workspace Monitoring Eventhouse
Microsoft Fabric Workspace Monitoring exposes activity-level pipeline telemetry in FabricDataPipelinesActivityRunsLogs, including PipelineRunId, OperationId, ActivityIterationCount, ActivityName, Act...MarcoOnnis1 hour agoNew MemberNew2Views0likes0CommentsSQL Analytics Endpoint host name - CNAME or defined alias
The host name for a SQL Analytics endpoint is ugly. They look like this: random_ugly_alphanumeric-random_ugly_alphanumeric.datawarehouse.fabric.microsoft.com The first segment looks like it...Mike_Diehl3 hours agoNew MemberNew29Views2likes1Comment