Skip to content

Instantly share code, notes, and snippets.

@y2k-shubham
Created March 31, 2020 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save y2k-shubham/debd079abab3a956626e8a3b05b22534 to your computer and use it in GitHub Desktop.
Save y2k-shubham/debd079abab3a956626e8a3b05b22534 to your computer and use it in GitHub Desktop.
regex to clean Hive DDL statements
# 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