Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.1.0
-
None
-
None
Description
Steps to reproduce:
from pyspark.sql.types import IntegerType locale = sc._jvm.java.util.Locale locale.setDefault(locale.forLanguageTag("tr-TR")) spark.createDataFrame([1, 2, 3], IntegerType())
Py4JJavaError: An error occurred while calling o24.applySchemaToPythonRDD. : java.util.NoSuchElementException: key not found: integer at scala.collection.MapLike$class.default(MapLike.scala:228) ...
Attachments
Issue Links
- duplicates
-
SPARK-20156 Java String toLowerCase "Turkish locale bug" causes Spark problems
- Resolved