Skip to content

Commit

Permalink
YQL: Skip Hybrid for false UseSystemColumns pragma (#10710)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkovalev authored Oct 22, 2024
1 parent 26b808f commit e45fe26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ydb/library/yql/providers/yt/provider/yql_yt_dq_hybrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ class TYtDqHybridTransformer : public TOptimizeTransformerBase {
if (operation.Ref().StartsExecution() || operation.Ref().HasResult())
return false;

if (!State_->Configuration->UseSystemColumns.Get().GetOrElse(DEFAULT_USE_SYS_COLUMNS)) {
PushSkipStat("FalseSystemColumns", nodeName);
return false;
}

if (operation.Output().Size() != 1U) {
PushSkipStat("MultipleOutputs", nodeName);
return false;
Expand Down

0 comments on commit e45fe26

Please sign in to comment.