[
https://issues.apache.org/jira/browse/CASSANDRA-21451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088255#comment-18088255
]
Dmitry Konstantinov edited comment on CASSANDRA-21451 at 6/11/26 1:18 PM:
--------------------------------------------------------------------------
cqlsh currently just sends the requests only one by one, the idea is to send
several CQL DDL statements as a a single request to Cassandra server, so yes,
it is about batch DDL grammar.
was (Author: dnk):
cqlsh current just sends the requests only one by one, the idea is to send
several CQL DDL statements as a a single request to Cassandra server, so yes,
it is about batch DDL grammar.
> Support DDL batches
> -------------------
>
> Key: CASSANDRA-21451
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21451
> Project: Apache Cassandra
> Issue Type: New Feature
> Reporter: Dmitry Konstantinov
> Priority: Normal
>
> If a schema is complicated and contains a lot of tables and UDTs then it can
> take a lot of time to apply DDLs one by one, especially on low level dev
> environments.
> To speedup the schema applying we can batch DDLs together, so we can amortize
> network interaction, flushing and transaction coordination time.
> Current logic and protocol for a schema change apply is already generic and
> ready for it.
> The change is only needed in CQL parsing and interpretation level.
> In case of TCM we can some DDLs in parallel but it is more complicated from a
> client side because it requires topological sorting or the changes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]