summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/sql.cpp
diff options
context:
space:
mode:
authorVictor Smirnov <[email protected]>2025-03-19 13:03:56 +0300
committerrobot-piglet <[email protected]>2025-03-19 13:18:48 +0300
commit28b29535ce7b21a3dde60b485c98f66f8c08f882 (patch)
treeb831ec57225a22c3241a443eccc20af1053fc561 /yql/essentials/sql/v1/sql.cpp
parent6c4b9a2b45127baabf73cdcb6323f3e3e09e5440 (diff)
YQL-19616 Implement ILexer via antlr_ast
- [x] Added `antlr_ast/antlr4` module and moved `TLexerTokensCollector4` there from `proto_ast/antlr4`. - [x] Moved stuff around back and forth. Ready for a review. --- Co-authored-by: vityaman [[email protected]] Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1128 commit_hash:e08785c3408ef813505bdc7511560e9536f4ab79
Diffstat (limited to 'yql/essentials/sql/v1/sql.cpp')
-rw-r--r--yql/essentials/sql/v1/sql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/yql/essentials/sql/v1/sql.cpp b/yql/essentials/sql/v1/sql.cpp
index 7201c4b0693..3d8951cb83e 100644
--- a/yql/essentials/sql/v1/sql.cpp
+++ b/yql/essentials/sql/v1/sql.cpp
@@ -20,7 +20,7 @@ TAstNode* SqlASTToYql(const google::protobuf::Message& protoAst, TContext& ctx)
if (node && node->Init(ctx, nullptr)) {
return node->Translate(ctx);
}
- } catch (const NProtoAST::TTooManyErrors&) {
+ } catch (const NAST::TTooManyErrors&) {
// do not add error issue, no room for it
}
@@ -34,7 +34,7 @@ TAstNode* SqlASTsToYqls(const std::vector<::NSQLv1Generated::TRule_sql_stmt_core
if (node && node->Init(ctx, nullptr)) {
return node->Translate(ctx);
}
- } catch (const NProtoAST::TTooManyErrors&) {
+ } catch (const NAST::TTooManyErrors&) {
// do not add error issue, no room for it
}