-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Make cassandra.partition-size-for-batch-select work expectedly #21940
Make cassandra.partition-size-for-batch-select work expectedly #21940
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
I submitted the signed CLA at 10:23 UTC on May 12. |
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraSplitManager.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraSplitManager.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraSplitManager.java
Outdated
Show resolved
Hide resolved
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraSplitManager.java
Outdated
Show resolved
Hide resolved
plugin/trino-cassandra/src/test/java/io/trino/plugin/cassandra/TestCassandraSplitManager.java
Show resolved
Hide resolved
@ebyhr @mayankvadariya Thank you for reviewing this pull request! Is there anything else I have to do? I'm not sure what I can do to make |
Registering CLA is a manual process and usually happens per 2 weeks. @martint Can you handle |
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
a1510b6
to
8bbe238
Compare
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
I've rebased the branch onto the master branch and resolved the conflict with the PR #22017 ( |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
This commit fixes the bug where a single select for a single partition key column table can include one more partition than expected.
8bbe238
to
2230310
Compare
Description
This PR fixes
cassandra.partition-size-for-batch-select
behavior that uses one more partition than expected when executing CQLs.Additional context and related issues
Steps to reproduce
Firstly, prepare a Cassandra table and records:
Then, launch trino-esrver-dev with the following changes:
After the server launches, you can reproduce the bug by executing the following Trino query:
Here is an output from the server, and, as you can see in the log, the CQL Trino executed includes three partitions even though we set
cassandra.partition-size-for-batch-select
to 2.The expected output should be as follows (I got the log when I checked the behavior of this PR):
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: