Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7234

Select on decimal column throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      Select on decimal column throws NPE for values greater than maximum permissible value (9999999999)

      Steps to repro:

      DROP TABLE IF EXISTS DECIMAL;

      CREATE TABLE DECIMAL (dec decimal);

      // Content of decimal_10_0.txt => "9999999999.999"
      LOAD DATA LOCAL INPATH '../../data/files/decimal_10_0.txt' OVERWRITE INTO TABLE DECIMAL;

      SELECT dec FROM DECIMAL; => throws NPE

      DROP TABLE DECIMAL;

      Attachments

        1. HIVE-7234.3.patch
          5 kB
          Ashish Singh
        2. HIVE-7234.2.patch
          11 kB
          Ashish Singh
        3. HIVE-7234.patch
          8 kB
          Ashish Singh

        Activity

          People

            singhashish Ashish Singh
            singhashish Ashish Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: