Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5821

Add FORMAT_NUMBER function (enabled in Hive and Spark library)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.34.0
    • 1.36.0
    • core

    Description

      Add FORMAT_NUMBER function (enabled in Hive and Spark library):

      FORMAT_NUMBER(expr1, expr2) - Formats the number expr1 like '#,###,###.##', rounded to expr2 decimal places. If expr2 is 0, the result has no decimal point or fractional part. expr2 also accept a user specified format. This is supposed to function like MySQL's FORMAT.

      See more details in Hive and Spark doc.

      Attachments

        Issue Links

          Activity

            People

              Runking Runkang He
              Runking Runkang He
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: