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

fix ArrayIndexOutOfBoundsException in date_add and date_sub initialize

    XMLWordPrintableJSON

Details

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

    Description

      hive> select date_add('2015-01-01', map(1,1));
      FAILED: ArrayIndexOutOfBoundsException 2
      
      hive> select date_sub('2015-01-01', map(1,1));
      FAILED: ArrayIndexOutOfBoundsException 2
      

      Attachments

        1. HIVE-9592.1.patch
          2 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: