BTEQ - ignoring dot in front of command #2246
Closed
MarkBell920
started this conversation in
General
Replies: 2 comments 1 reply
-
Perhaps you could override the tokenizer to handle a possible |
Beta Was this translation helpful? Give feedback.
0 replies
-
I want to catch both of these lines in a Teradata script .SET SIDETITLES ON; SET SIDETITLES ON; Both commands are valid. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to extend the Teradata dialect to parse and ignore BTEQ commands. I have manged to add the common commands to the teradta.py file but the problem is BTEQ commands do not have to start with a dot (.). They are only 'Optional, but recommended' in the Teradata documentation. I know the SQL I am trying to parse will have a mix of commands with a dot in front and commands without.
Does anyone have an example of how I can make the dot optional in commands like .LOGON/LOGON?
thanks,
Mark
Beta Was this translation helpful? Give feedback.
All reactions