forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Statement/Schema builders should be extended with Scylla-specific options #166
Labels
enhancement
New feature or request
Comments
Gor027
added a commit
to Gor027/java-driver
that referenced
this issue
Mar 4, 2023
Added `maxReadsPerSecond` and `maxWritesPerSecond` options to `TableOptions` which will allow convenient creation of CREATE and ALTER statements with rate limit options for read and write operations. Both maxReadsPerSecond and maxWritesPerSecond are optional - omitting one of them means "no limit" for that type of operation. Fixes scylladb#166
avelanarius
pushed a commit
to Gor027/java-driver
that referenced
this issue
Jan 5, 2024
Added `maxReadsPerSecond` and `maxWritesPerSecond` options to `TableOptions` which will allow convenient creation of CREATE and ALTER statements with rate limit options for read and write operations. Both maxReadsPerSecond and maxWritesPerSecond are optional - omitting one of them means "no limit" for that type of operation. Fixes scylladb#166
avelanarius
pushed a commit
that referenced
this issue
Jan 5, 2024
Added `maxReadsPerSecond` and `maxWritesPerSecond` options to `TableOptions` which will allow convenient creation of CREATE and ALTER statements with rate limit options for read and write operations. Both maxReadsPerSecond and maxWritesPerSecond are optional - omitting one of them means "no limit" for that type of operation. Fixes #166
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The existing SchemaBuilder/statement builders facilites allow for convenient creation of Scylla statements. Unfortunately, many of Scylla-specific extensions are missing from those builders.
For example, it's currently not possible to use
SchemaBuilder
to create aCREATE TABLE
statement withper_partition_rate_limit
. Trying it:results in creating such a query:
And
per_partition_rate_limit
value dictionary is unnecessarily escaped with ' '.We should add convenience methods for all Scylla-specific CQL extensions.
Refs #155
The text was updated successfully, but these errors were encountered: