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

MergeProcessor should respect the origin source order #12

Closed
sundy-li opened this issue Dec 22, 2020 · 3 comments
Closed

MergeProcessor should respect the origin source order #12

sundy-li opened this issue Dec 22, 2020 · 3 comments

Comments

@sundy-li
Copy link
Member

sundy-li commented Dec 22, 2020

mysql> select number from system.numbers_mt(20) limit 3;
+--------+
| number |
+--------+
|      0 |
|      1 |
|      4 |
+--------+
3 rows in set (0.00 sec)

@BohuTANG
Copy link
Member

Yes.
But it's hard to do without order by clause, any ideas?

@sundy-li
Copy link
Member Author

Just use vector instead of channel by default?

@BohuTANG
Copy link
Member

Merge processor is dependened on the tokio scheduler(spawn), I think the sequence of merge processor is not the place to rush to solve, fuse-query will do limit push down later, then the result is make sense.

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

No branches or pull requests

2 participants