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

NumberFormatException in sum and avg

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • UDF
    • None
    • Reviewed

    Description

      SELECT sum('a'), avg('a') FROM zshao_tt;
      

      It should return NULL for both columns, instead of throwing out exceptions.

      Attachments

        1. HIVE-861.1.patch
          12 kB
          Zheng Shao

        Activity

          People

            Unassigned Unassigned
            zshao Zheng Shao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: