XMLWordPrintableJSON

Details

    Description

      regex_extract is a very useful function, it returns a string based on a regex pattern and a index.

      For example : 

      regexp_extract('foothebar', 'foo(.*?)(bar)', 2) // returns 'bar.'
      

      It is provided as a UDF in Hive, more details please see[1].

      [1]: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yanghua vinoyang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: