Skip to content

Avoid hiding errors like Limit for rows or bytes to read exceeded for scalar subqueries#24545

Merged
kitaisreal merged 4 commits intoClickHouse:masterfrom
nvartolomei:nv/scalar-subquery-exception
May 28, 2021
Merged

Avoid hiding errors like Limit for rows or bytes to read exceeded for scalar subqueries#24545
kitaisreal merged 4 commits intoClickHouse:masterfrom
nvartolomei:nv/scalar-subquery-exception

Conversation

@nvartolomei
Copy link
Copy Markdown
Contributor

@nvartolomei nvartolomei commented May 26, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Avoid hiding errors like Limit for rows or bytes to read exceeded for scalar subqueries.

Currently, it throws DB::Exception: Scalar subquery returned more than one row when user defined limit is hit which doesn't make sense.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label May 26, 2021
@kitaisreal kitaisreal self-assigned this May 26, 2021
@nvartolomei
Copy link
Copy Markdown
Contributor Author

@kitaisreal should i fix the style check and re-trigger CI or is there a more efficient way?)

@kitaisreal
Copy link
Copy Markdown
Contributor

@nvartolomei no need for changes from your side, need to investigate why synchronization check failed.

@kitaisreal kitaisreal merged commit f1b08ae into ClickHouse:master May 28, 2021
@nvartolomei nvartolomei deleted the nv/scalar-subquery-exception branch May 28, 2021 21:25
robot-clickhouse pushed a commit that referenced this pull request May 30, 2021
…bytes to read exceeded` for scalar subqueries
robot-clickhouse pushed a commit that referenced this pull request May 31, 2021
…bytes to read exceeded` for scalar subqueries
robot-clickhouse pushed a commit that referenced this pull request May 31, 2021
…bytes to read exceeded` for scalar subqueries
robot-clickhouse pushed a commit that referenced this pull request May 31, 2021
…bytes to read exceeded` for scalar subqueries
kitaisreal added a commit that referenced this pull request May 31, 2021
Backport #24545 to 21.3: Avoid hiding errors like `Limit for rows or bytes to read exceeded` for scalar subqueries
kitaisreal added a commit that referenced this pull request May 31, 2021
Backport #24545 to 21.5: Avoid hiding errors like `Limit for rows or bytes to read exceeded` for scalar subqueries
kitaisreal added a commit that referenced this pull request Jun 1, 2021
Backport #24545 to 21.4: Avoid hiding errors like `Limit for rows or bytes to read exceeded` for scalar subqueries
@robot-clickhouse robot-clickhouse added pr-improvement Pull request with some product improvements and removed pr-bugfix Pull request with bugfix, not backported by default labels Jun 1, 2021
alexey-milovidov added a commit that referenced this pull request Jun 1, 2021
Backport #24545 to 21.6: Avoid hiding errors like `Limit for rows or bytes to read exceeded` for scalar subqueries
@alexey-milovidov
Copy link
Copy Markdown
Member

alexey-milovidov commented Jun 1, 2021

It is not a bugfix. Improvement in exception message. Was not required to backport it anywhere.

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

Labels

pr-improvement Pull request with some product improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants