Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6134

Fix wrong datatype for casting FloatType and default LongType value in defaultPrimitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • SQL
    • None

    Description

      In CodeGenerator, the casting on FloatType should use FloatType instead of IntegerType.

      Besides, defaultPrimitive for LongType should be -1L instead of 1L.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            viirya L. C. Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: