summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-07-11 19:39:49 +0300
committerrobot-piglet <[email protected]>2025-07-11 19:51:42 +0300
commitb76c97744211c9bc261343d0c072ec4271340102 (patch)
treec2b2b0be836a86ba5857a409d4c0519864c55714
parent1f73cd16c7f4a4f508fc898252cd411a51ae8efc (diff)
Intermediate changes
commit_hash:28e7ffac446ec164b114e1e27cbccf1ac4e7086e
-rw-r--r--yql/essentials/tools/sql2yql/sql2yql.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/yql/essentials/tools/sql2yql/sql2yql.cpp b/yql/essentials/tools/sql2yql/sql2yql.cpp
index 8bcfe3f6c5d..7759cc85942 100644
--- a/yql/essentials/tools/sql2yql/sql2yql.cpp
+++ b/yql/essentials/tools/sql2yql/sql2yql.cpp
@@ -432,7 +432,9 @@ int BuildAST(int argc, char* argv[]) {
parseRes = NSQLTranslation::SqlToYql(translators, query, settings);
}
}
-
+ if (noDebug && parseRes.IsOk()) {
+ continue;
+ }
if (parseRes.Root) {
TStringStream yqlProgram;
parseRes.Root->PrettyPrintTo(yqlProgram, NYql::TAstPrintFlags::PerLine | NYql::TAstPrintFlags::ShortQuote);