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

Enable round() function to accept scale argument as non-constants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • UDF
    • None
    • Updated the function to accept non-constants also as scale argument.

    Description

      round() function should accept scale argument as non-constants, it will enable queries like:

      create table sampletable(c double, d int);
      select round(c,d) from sampletable;

      Attachments

        1. HIVE-15324.patch
          11 kB
          Chinna Rao Lalam
        2. HIVE-15324.1.patch
          21 kB
          Chinna Rao Lalam
        3. HIVE-15324.2.patch
          21 kB
          Chinna Rao Lalam

        Activity

          People

            chinnalalam Chinna Rao Lalam
            chinnalalam Chinna Rao Lalam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: