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

add UDF array_rcontains for ARRAY<String>

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • UDF
    • None

    Description

      Add new UDF array_rcontains for Array<String> to check if array contains string by regexp

      For example, we have array of strings in the column FRIENDS, then we can check for if particular person has .+Smith in friends:
      array_rcontains(FRIENDS, '.+Smith')

      Attachments

        Activity

          People

            kostiantyn Kostiantyn Kudriavtsev
            kostiantyn Kostiantyn Kudriavtsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: