Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-6134][SQL] Fix wrong datatype for casting FloatType and defaul…
…t LongType value in defaultPrimitive In `CodeGenerator`, the casting on `FloatType` should use `FloatType` instead of `IntegerType`. Besides, `defaultPrimitive` for `LongType` should be `-1L` instead of `1L`. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #4870 from viirya/codegen_type and squashes the following commits: 76311dd [Liang-Chi Hsieh] Fix wrong datatype for casting on FloatType. Fix the wrong value for LongType in defaultPrimitive. (cherry picked from commit aef8a84) Signed-off-by: Cheng Lian <lian@databricks.com>
- Loading branch information