You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "yyy1000 (via GitHub)" <gi...@apache.org> on 2024/02/19 06:11:52 UTC
[I] Remove fetch option from ExternalSorter [arrow-datafusion]
yyy1000 opened a new issue, #9266:
URL: https://github.com/apache/arrow-datafusion/issues/9266
### Is your feature request related to a problem or challenge?
When I learn `Sort` implementation for #9170
I found now the `fetch` option in ExternalSorter is not used since #7721, see below
https://github.com/apache/arrow-datafusion/blob/497cb9d46c6f68de6762998c241d0860072c7909/datafusion/physical-plan/src/sorts/sort.rs#L868-L897
I wonder whether it's proper to remove this option to make it cleaner or keep it for possible future use.🤔
### Describe the solution you'd like
remove the `fetch` option and related method
### Describe alternatives you've considered
Keep it, maybe useful in future?
### Additional context
I can help it if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Remove fetch option from ExternalSorter [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9266:
URL: https://github.com/apache/arrow-datafusion/issues/9266#issuecomment-1975197388
Maybe @kazuyukitanimura has some thoughts on this matter
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Remove fetch option from ExternalSorter [arrow-datafusion]
Posted by "yyy1000 (via GitHub)" <gi...@apache.org>.
yyy1000 commented on issue #9266:
URL: https://github.com/apache/arrow-datafusion/issues/9266#issuecomment-1975203698
Thanks! @alamb
I'm also trying to use ExternalSorter in PartialSort to implement spill function. (Still working)
If I find the fetch option will not be used, I can remove it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Remove fetch option from ExternalSorter [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9266:
URL: https://github.com/apache/arrow-datafusion/issues/9266#issuecomment-1975197533
I think removing the option seems to make sense to me if it is not used. We can always put it back
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Remove fetch option from ExternalSorter [arrow-datafusion]
Posted by "kazuyukitanimura (via GitHub)" <gi...@apache.org>.
kazuyukitanimura commented on issue #9266:
URL: https://github.com/apache/arrow-datafusion/issues/9266#issuecomment-1977381461
It is interesting. We do not have any tests for `ExternalSorter.fetch`, looks like? @yyy1000
We can remove it but since `ExternalSorter.new(..., fetch, ...)` is `pub`, I guess we should add a deprecation message first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org