Last active
February 18, 2019 06:44
-
-
Save rollin96/57fbc46c7e00e0f2f54392dc86178909 to your computer and use it in GitHub Desktop.
hive sql regexp hivevar hiveconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 특수문자만 있는 케이스 제거 | |
query not rlike '\'\"`^[0-9!@#$%^&*()=+_.,?/-]*$' | |
-- 구두점이나 숫자, 자모 만으로 구성된 케이스 제거 | |
query not rlike '[\p{Digit}\p{Punct}\p{Space}\u3131-\u318E]+' | |
-- hivevar vs hiveconf : prefer hivevar | |
hive --hivevar a='this is a' -e '!echo ${a};' |
Author
rollin96
commented
Feb 18, 2019
•
- hivevar vs hiveconf link
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment