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

[feat]: Support CQL file execution #537

Open
millerjp opened this issue Nov 3, 2024 · 0 comments
Open

[feat]: Support CQL file execution #537

millerjp opened this issue Nov 3, 2024 · 0 comments
Assignees
Labels
cql console enhancement New feature or request

Comments

@millerjp
Copy link
Contributor

millerjp commented Nov 3, 2024

It is comon that people execute cql files against the DB.

Allow users to select a file containing lots of CQL statements to execute against the DB and run against the DB.

This is essentially a very large multi-statment query like we run in the enhanced console. What we should do here is essentially pipe the CQL file into our enhanced cql statement prompt and execute the statments as BAU. The CQL history for this action should be a pointer to the file. We should expose this via Right Click and also add it somewhere near the CQL prompt area.

When running the CQL file users should also have the ability to terminate its execution.

Note - this file could be very large e.g lots of create statments and inserts to populate a DB. Test this with large files with 1000s of DML statements and various DDLs and make sure to test batch statments in the CQL file.

@millerjp millerjp added the enhancement New feature or request label Nov 3, 2024
@millerjp millerjp added this to the v1.0.0-release milestone Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cql console enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants