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

Fix queries with very large LIMIT with Redshift #7236

Merged
merged 2 commits into from Mar 10, 2021

Conversation

findepi
Copy link
Member

@findepi findepi commented Mar 10, 2021

Redshift does not support LIMIT 2147483648 or more.

Alternative to #7231

Redshift does not support LIMIT 2147483648 or more.
Now that limit exceeding `Integer.MAX_VALUE` is filtered out in
`JdbcMetadata`, the `PhoenixClient` can be simplified.
Copy link
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

This is simpler.

I can't think of a reason why someone would run queries with LIMIT > INT_MAX. Beats the point of using LIMIT in my opinion.

Copy link
Member

@losipiuk losipiuk left a comment

Choose a reason for hiding this comment

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

Also nice

@findepi findepi merged commit 3270b55 into trinodb:master Mar 10, 2021
@findepi findepi deleted the findepi/redshift-limit branch March 10, 2021 16:49
@findepi findepi added this to the 354 milestone Mar 10, 2021
@findepi findepi mentioned this pull request Mar 15, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants