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

Type resolution for udf arguments of Decimal Type results in error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0, 0.13.1
    • 0.14.0
    • Query Processor, Types
    • None
    • Hide
      Removes mixed double/decimal versions of log(). log() will be resolved to one of the following versions, using type conversion where necessary:

      double log(double base, double a)
      double log(decimal base, decimal a)
      Show
      Removes mixed double/decimal versions of log(). log() will be resolved to one of the following versions, using type conversion where necessary: double log(double base, double a) double log(decimal base, decimal a)

    Description

      select log (2, 10.5BD) from src;
      

      results in exception.

      Attachments

        1. HIVE-8114.1.patch
          10 kB
          Jason Dere

        Activity

          People

            jdere Jason Dere
            ashutoshc Ashutosh Chauhan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: