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

Fix BigDecimal constructor for FloatType

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Later
    • None
    • None
    • SQL
    • None

    Description

      Change `BigDecimal.decimal(f: Float)` instead of `BigDecimal(f: float)`. The latter is deprecated and can result in inconsistencies due to an implicit conversion to `Double`.

      Attachments

        Activity

          People

            sameerag Sameer Agarwal
            sameerag Sameer Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: