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

Add FIND_IN_SET function (enabled in Hive and Spark library)

    XMLWordPrintableJSON

Details

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

    Description

      Add FIND_IN_SET function (enabled in Hive and Spark library):
       
      FIND_IN_SET(str, str_array) - find_in_set(str, str_array) - Returns the index (1-based) of the given string (str) in the comma-delimited list (str_array). Returns 0, if the string was not found or if the given string (str) contains a comma.
       
      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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: