Skip to content
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

Add support for streaming TopN rank #23477

Open
aaneja opened this issue Aug 20, 2024 · 1 comment
Open

Add support for streaming TopN rank #23477

aaneja opened this issue Aug 20, 2024 · 1 comment

Comments

@aaneja
Copy link
Contributor

aaneja commented Aug 20, 2024

Trino implemented a variant of TopNRowNumber node + operator called TopNRanking - which improves Q67 performance signficantly. In my local testing with TPCDS SF 1000, I saw a performance improvement in latency of around 80%

trinodb/trino#6333 (comment)

This looks like a good candidate to add to Presto as well, both in Presto Java & Native

@aaneja
Copy link
Contributor Author

aaneja commented Aug 20, 2024

Related Velox discussion - facebookincubator/velox#9404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant