-
Notifications
You must be signed in to change notification settings - Fork 236
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
[FEA] Better support for CollectLimitExec #7005
Comments
Those are the reasons that we don't replace |
Hi, not fully get what you mean for the last suggestion. If Besides, add a rule to make sure a Of course there should be many details I miss here, but this is an overall idea. |
That is essentially what I am suggesting, but hopefully with less code changes. What we have today.
This works, but You are proposing to fix this by having a
This is fine and works, but it means that we have to mark What I am proposing is to use existing Execs to do the same thing.
@firestarman your solution would end up being cleaner on the UI, which is a big advantage for end users. So if you are willing to put in the effort to make that happen I would love to see it. I was just thinking of how we could do it with as little work as possible. |
The current GPU implementation of CollectLimitExec (leveraging the
GpuGlobalLimitExec
) does not cover theexecuteCollect
path, causing some small issues.See #882 and #6814.
We may need to support this
executeCollect
path same as the CPUCollectLimitExec
. Besides, we should also take care of the possible plan tree change when enabling the GPU CollectLimitExec, to make sure it will go into theexecuteCollect
path for cases liketake
,show
andlimit
. Since the root node (aka the last operation) of the plan will be probablyGpuColumnarToRowExec
, not theCollectLimitExec
any more.The text was updated successfully, but these errors were encountered: