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

UDF from_utc_timestamp throws NPE if the second argument is null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: UDF
    • Labels:
      None

      Description

      UDF from_utc_timestamp throws NPE if the second argument is null

      select from_utc_timestamp('2015-02-06 10:30:00', cast(null as string));
      FAILED: NullPointerException null
      

        Attachments

        1. HIVE-9617.2.patch
          14 kB
          Alexander Pivovarov
        2. HIVE-9617.1.patch
          3 kB
          Alexander Pivovarov

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: