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

negative numeric literal parsing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      As found in https://github.com/apache/spark/pull/14592/files#r74367410, Spark 2.0 parses negative numeric literals as the unary minus of positive literals. This introduces problems for the edge cases such as -9223372036854775809 being parsed as decimal instead of bigint.

      Attachments

        Activity

          People

            petermaxlee Peter Lee
            petermaxlee Peter Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: