Don't make lookups on predicate pushdown stage#1560
Don't make lookups on predicate pushdown stage#1560ssmike merged 5 commits intoydb-platform:mainfrom
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.
Подобная функция уже есть в kqp_opt_log_indexes.cpp, может вынесем в хэлперы?
| } | ||
|
|
||
| return usedFields.size() < inputStructType->GetSize(); | ||
| return allowTrivial || usedFields.size() < inputStructType->GetSize(); |
There was a problem hiding this comment.
А почему эту проверку нельзя в клиенте сделать?
HaveFieldSubset ведь заполнит usedFields
|
⚪ |
616a026 to
a9e4160
Compare
|
⚪ |
|
⚪ |
a9e4160 to
7398e96
Compare
Don't make lookups on predicate pushdown stage
No description provided.