Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
aarongiust
Frequent Visitor

Dataflow retains case sensitivity but not anywhere else

I created a Lakehouse table using a dataflow and it retains the camel casing I used for the table and column names but if I try to do that myself in a notebook using a CREATE TABLE statement, it just makes it all lowercase. Why is that?

1 ACCEPTED SOLUTION
v-gchenna-msft
Community Support
Community Support

Hi @aarongiust , @govindarajan_d 

Spark is not case sensitive by default.

 

There is a way to handle this issue by adding spark config , using a SparkSession object named spark:

spark.conf.set('spark.sql.caseSensitive', True)

By default it is False.

Hope this is helpful. Please let me know incase of further queries.

View solution in original post

2 REPLIES 2
v-gchenna-msft
Community Support
Community Support

Hi @aarongiust , @govindarajan_d 

Spark is not case sensitive by default.

 

There is a way to handle this issue by adding spark config , using a SparkSession object named spark:

spark.conf.set('spark.sql.caseSensitive', True)

By default it is False.

Hope this is helpful. Please let me know incase of further queries.

govindarajan_d
Solution Supplier
Solution Supplier

Hi @aarongiust,

 

I tried it but it creates Sentence case for me:

govindarajan_d_0-1706770024847.png

 

Any other specific config that you are passing?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Expanding the Synapse Forums

New forum boards available in Synapse

Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayFBCUpdateCarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.