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

format_number udf throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • None

    Description

      For example

      select format_number(cast(null as int), 0);
      FAILED: NullPointerException null
      

      Attachments

        1. HIVE-10095.1.patch
          4 kB
          Alexander Pivovarov

        Activity

          People

            apivovarov Alexander Pivovarov
            apivovarov Alexander Pivovarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: