-
- Downloads
[SPARK-5722] [SQL] [PySpark] infer int as LongType
The `int` is 64-bit on 64-bit machine (very common now), we should infer it as LongType for it in Spark SQL. Also, LongType in SQL will come back as `int`. Author: Davies Liu <davies@databricks.com> Closes #4666 from davies/long and squashes the following commits: 6bc6cc4 [Davies Liu] infer int as LongType
Showing
- python/pyspark/sql/dataframe.py 8 additions, 6 deletionspython/pyspark/sql/dataframe.py
- python/pyspark/sql/tests.py 21 additions, 1 deletionpython/pyspark/sql/tests.py
- python/pyspark/sql/types.py 4 additions, 4 deletionspython/pyspark/sql/types.py
- sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala 1 addition, 0 deletions...core/src/main/scala/org/apache/spark/sql/SQLContext.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/pythonUdfs.scala 1 addition, 0 deletions...ain/scala/org/apache/spark/sql/execution/pythonUdfs.scala
Loading
Please register or sign in to comment