Skip to content

Commit

Permalink
LongType only accepts long values.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Aug 5, 2014
1 parent c2b23dd commit 32f0708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def _infer_schema_type(obj, dataType):
ByteType: (int, long),
ShortType: (int, long),
IntegerType: (int, long),
LongType: (int, long),
LongType: (long,),
FloatType: (float,),
DoubleType: (float,),
DecimalType: (decimal.Decimal,),
Expand Down

0 comments on commit 32f0708

Please sign in to comment.