Details

      Description

      replace is an useful function for String. 

      for example:

      select replace("Hello World", "World", "Flink") // return "Hello Flink"
      select replace("ababab", "abab", "z") // return "zab"
      

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

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guibopan Guibo Pan
                Reporter:
                guibopan Guibo Pan
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: