Maciej Szymkiewicz created SPARK-20361:
------------------------------------------
Summary: JVM locale affects SQL type names
Key: SPARK-20361
URL: https://issues.apache.org/jira/browse/SPARK-20361
Project: Spark
Issue Type: Bug
Components: PySpark, SQL
Affects Versions: 2.1.0
Reporter: Maciej Szymkiewicz
Steps to reproduce:
{code}
from pyspark.sql.types import IntegerType
locale = sc._jvm.java.util.Locale
locale.setDefault(locale.forLanguageTag("tr-TR"))
spark.createDataFrame([1, 2, 3], IntegerType())
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]