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

SQL: Check case where the pivot limit is reached #47121

Merged
merged 3 commits into from
Sep 26, 2019

Conversation

costin
Copy link
Member

@costin costin commented Sep 25, 2019

In some cases, the fetch size affects the way the groups are returned
causing the last page to beyond the limit. Add dedicated check to
prevent extra data from being returned.

Fix #47002

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

In some cases, the fetch size affects the way the groups are returned
causing the last page to beyond the limit. Add dedicated check to
prevent extra data from being returned.

Fix elastic#47002
@costin
Copy link
Member Author

costin commented Sep 25, 2019

@elasticmachine run @elasticsearch-ci/2

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add also a test for this in FetchSizeTestCase?
Minor, for commit message:

... causing the last page to beyond the limit. ...

I think a verb is missing in this phrasing?

@costin
Copy link
Member Author

costin commented Sep 26, 2019

@elasticmachine run @elasticsearch-ci/2 elasticsearch-ci/bwc

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@costin
Copy link
Member Author

costin commented Sep 26, 2019

@elasticmachine run @elasticsearch-ci/bwc

@costin costin merged commit f4c2964 into elastic:master Sep 26, 2019
@costin costin deleted the fix/47002 branch September 26, 2019 16:47
costin added a commit that referenced this pull request Sep 26, 2019
In some cases, the fetch size affects the way the groups are returned
causing the last page to go beyond the limit. Add dedicated check to
prevent extra data from being returned.

Fix #47002

(cherry picked from commit f4c2964)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT failures
4 participants