-
Notifications
You must be signed in to change notification settings - Fork 638
YQL-9517: Over BlockExpandChunked #1366
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
Conversation
⚪
|
⚪
|
.Done()) | ||
.Done()) | ||
.Input(ctx.Builder(node->Pos()) | ||
.Callable("BlockExpandChunked").Add(0, Build<TCoToFlow>(ctx, node->Pos()) |
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.
BlockExpandChunked не в этом месте надо добавлять, а когда мы expr node переписываем в mkql runtime node. Тут оно будет мешаться оптимизаторам (в частности режиму BlockEngine = auto
⚪
|
⚪
|
output = input->HeadPtr(); | ||
return IGraphTransformer::TStatus::Repeat; | ||
} | ||
auto streamItemTypes = input->Head().GetTypeAnn()->Cast<TStreamExprType>()->GetItemType()->Cast<TMultiExprType>()->GetItems(); |
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.
А можно тут уменьшить копипасту - после того как ты получил itemType, у тебя код одинаковый для stream/flow
.Done()) | ||
.Input( | ||
Build<TCoToFlow>(ctx, node->Pos()) | ||
.Input(ctx.Builder(node->Pos()).Callable("BlockExpandChunked") |
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.
Тут не должно быть BlockExpandChunked
⚪
|
⚪
|
* YQL-9517: Over BlockExpandChunked * next iteration * fix * move to mkql
No description provided.