Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3123

StringToIntInternal() callers should check ParseResult for overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.5.0
    • Impala 2.6.0
    • Backend
    • None

    Description

      https://github.com/cloudera/Impala/blob/cdh5-trunk/be/src/util/string-parser.h#L274

      So for a file with:
      300
      9999999999999

      With column int the result:
      300
      2147483647

      With column tiny int the result:
      127
      127

      Is this intentional? hive returns NULL in both case.

      Attachments

        Issue Links

          Activity

            People

              anujphadke Anuj Phadke
              HuaisiXu Huaisi Xu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: