Forum Discussion
JosueMolina
2 years agoHelper III
Fabric Notebook Locale Setting
I was able to run this code: locale.setlocale(locale.LC_TIME,"es_ES") before. But now the locale string is unsupported. Is there any way I can change the locale for a Notebook session. This help...
JosueMolina
2 years agoHelper III
HimanshuS-msft do you have an update on this ? I would like to test it out with some Notebooks we depend on, now that we are nearing the end of the year.
HimanshuS-msft
2 years agoMicrosoft Employee
Hello JosueMolina
Sorry for the late reply .
If the requirement is to set locale to handle local timezone then yes. You can set timezone at session level by changing the Spark Config "
spark.sql.session.timeZone" or using SparkSQL SET command -
SET TIME ZONE - Spark 3.4.0 Documentation (apache.org)
Thanks
Himanshu