-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't make lookups on predicate pushdown stage #1560
Conversation
⚪
|
⚪
|
⚪ |
⚪ |
⚪
|
⚪
|
⚪
|
⚪
|
⚪
|
⚪
|
⚪
|
⚪
|
|
||
namespace { | ||
|
||
bool CanPushFlatMap(const NYql::NNodes::TCoFlatMapBase& flatMap, const NYql::TKikimrTableDescription& tableDesc, const NYql::TParentsMap& parentsMap, TVector<TString> & extraColumns) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Подобная функция уже есть в kqp_opt_log_indexes.cpp
, может вынесем в хэлперы?
@@ -412,15 +412,15 @@ bool HaveFieldsSubset(const TExprNode::TPtr& start, const TExprNode& arg, TField | |||
} | |||
} | |||
|
|||
return usedFields.size() < inputStructType->GetSize(); | |||
return allowTrivial || usedFields.size() < inputStructType->GetSize(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А почему эту проверку нельзя в клиенте сделать?
HaveFieldSubset ведь заполнит usedFields
⚪ |
616a026
to
a9e4160
Compare
⚪ |
⚪ |
a9e4160
to
7398e96
Compare
Don't make lookups on predicate pushdown stage
No description provided.