diff options
| author | vvvv <[email protected]> | 2025-02-11 13:37:15 +0300 |
|---|---|---|
| committer | vvvv <[email protected]> | 2025-02-11 14:13:31 +0300 |
| commit | 8583cf9de21df5e60b1256e107a62e662121a8a8 (patch) | |
| tree | a29bc0fcbd9db6861881c5abdf6b303bf1a31a47 /yql/essentials/sql | |
| parent | f895bba65827952ed934b2b46f9a45e30a191fd2 (diff) | |
Antlr4 by default
commit_hash:4bb3d1eae5900487d115a0fab098dd0b7b240641
Diffstat (limited to 'yql/essentials/sql')
| -rw-r--r-- | yql/essentials/sql/settings/translation_settings.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/yql/essentials/sql/settings/translation_settings.cpp b/yql/essentials/sql/settings/translation_settings.cpp index f54e8e35fb3..af15c8e0c58 100644 --- a/yql/essentials/sql/settings/translation_settings.cpp +++ b/yql/essentials/sql/settings/translation_settings.cpp @@ -53,7 +53,7 @@ namespace NSQLTranslation { , EnableGenericUdfs(true) , SyntaxVersion(1) , AnsiLexer(false) - , Antlr4Parser(false) + , Antlr4Parser(true) , PgParser(false) , InferSyntaxVersion(false) , V0Behavior(EV0Behavior::Disable) @@ -74,10 +74,6 @@ namespace NSQLTranslation { return false; } - if (settings.Flags.contains("Antlr4")) { - settings.Antlr4Parser = true; - } - TSplitDelimiters lineDelimiters("\n\r"); TDelimitersSplit linesSplit(query, lineDelimiters); auto lineIterator = linesSplit.Iterator(); |
