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
Let Workspace Admins manage Fabric Policies
For example, allow a Workspace Admin to grant other identities the Contributor role, while also granting them higher privileges in certain areas, e.g. List Workspace role permissions (without resha...frithjof_v1 minute agoCommunity ChampionNew4Views0likes0CommentsAllow Fabric data apps to be included in published Power BI apps (org apps)
Data apps (built with the Fabric data app template / Rayfin) can currently only be opened from inside the Fabric workspace by users with workspace access. They cannot be added to a published Power BI...naveritchev1 hour agoNew MemberNew176Views13likes1CommentImprove the error messages on warehouse deployment failures
When a warehouse fails to deploy in the deployment pipeline currently we get a wall of text as an error message. Something like Backend Error import fail Exception Error occurred SQL Project build f...Tom_Fosterbi2 hours agoRegular VisitorNew3Views0likes0CommentsActivity sort order when running a pipeline
It would be good to sort the `Activity Status` field in the Pipeline status that we see when running a pipeline using a custom sort. I frequently have pipelines with many tasks and need to check the...ChrisClegg2 hours agoFrequent VisitorNew5Views0likes0CommentsData Pipelines - Run only selected activities
For debugging and testing pipeline activities during development, allow us to select one or multiple activities and run only the selected pipeline activities. For example, I'm working on editing ...frithjof_v2 hours agoCommunity ChampionNew668Views14likes3Comments