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

Select on decimal column throws NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      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.patch
          8 kB
          Ashish Singh
        2. HIVE-7234.2.patch
          11 kB
          Ashish Singh
        3. HIVE-7234.3.patch
          5 kB
          Ashish Singh

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: