Skip to content

Commit

Permalink
YQ-3035: fix cherry-picking troubles
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorkaZ committed Apr 8, 2024
1 parent 4ffba3f commit 29ad95f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ydb/library/yql/providers/dq/opt/logical_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,16 +507,6 @@ class TDqsLogicalOptProposalTransformer : public TOptimizeTransformerBase {
return nullptr;
}

IDqOptimization* GetDqOptCallback(const TExprBase& providerRead) const {
if (providerRead.Ref().ChildrenSize() > 1 && TCoDataSource::Match(providerRead.Ref().Child(1))) {
auto dataSourceName = providerRead.Ref().Child(1)->Child(0)->Content();
auto datasource = TypesCtx.DataSourceMap.FindPtr(dataSourceName);
YQL_ENSURE(datasource);
return (*datasource)->GetDqOptimization();
}
return nullptr;
}

private:
TDqConfiguration::TPtr Config;
TTypeAnnotationContext& TypesCtx;
Expand Down

0 comments on commit 29ad95f

Please sign in to comment.