Skip to content

NonJoinedBlockInputStream generates duplicate records across block. - #1731

Merged
alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
amosbird:nonjoin
Jan 9, 2018
Merged

alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
amosbird:nonjoin

Conversation

@amosbird

@amosbird amosbird commented Jan 5, 2018

Copy link
Copy Markdown
Collaborator

This patch fixes the iterator incrementation.

This patch fixes the iterator incrementation.
@amosbird

amosbird commented Jan 5, 2018

Copy link
Copy Markdown
Collaborator Author

To reproduce the issue, run

select count() from (select toUInt64(1) s limit 1)  any right join  (select number s from numbers(65537)) using (s) ;

It should return 65537 but 65538

@alexey-milovidov

Copy link
Copy Markdown
Member

👍

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

Successfully merging this pull request may close these issues.

2 participants