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

Add typeof UDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • UDF

    Description

      It would be useful to have a typeof UDF that returns a string describing the type of the argument.

      For example:

      SELECT typeof(int_column) FROM made_up_table
      would return:
      int

      This is useful for test purposes and debugging purposes.

      Attachments

        Issue Links

          Activity

            People

              jfs John Sherman
              jfs John Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: