Created
November 3, 2022 19:37
-
-
Save Sam-Gram/5f6366d9a88600f2d90dc474abdd4a76 to your computer and use it in GitHub Desktop.
Used for cleaning up useless column aliases, where it's like name as name in vscode.
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
Search: \.?(?<column>[\w_]+) as \k<column> | |
replace: .$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment