I have a string of words that are ::
delimited. How can I use the Hive
UDF
regexp_extract()
to extract words from the string?
相关问题
- Spark on Yarn Container Failure
- Improve converting string to readable urls
- Regex to match charset
- Regex subsequence matching
- Accommodate two types of quotes in a regex
相关文章
- 在hive sql里怎么把"2020-10-26T08:41:19.000Z"这个字符串转换成年月日
- Java写文件至HDFS失败
- Optimization techniques for backtracking regex imp
- Regex to check for new line
- mapreduce count example
- Allow only 2 decimal points entry to a textbox usi
- Comparing speed of non-matching regexp
- Regular expression to get URL in string swift with
OUTPUT:
2foa1fa
OUTPUT:
12hjk
Now just stick your column name in the place of the string literal and you should be good to go.
You can also use a split function creating an array and then query by the array location as well. Which will look something like this:
OUTPUT:
12hjk