Created
March 31, 2020 12:54
-
-
Save y2k-shubham/debd079abab3a956626e8a3b05b22534 to your computer and use it in GitHub Desktop.
regex to clean Hive DDL statements
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
# this regex will clean output of Hive's SHOW CREATE TABLE .. statement | |
(^\| |\s+\|$| COMMENT 'from deserializer') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment