Is there any way to import a set of CQL commands using 'cqlsh' or 'schematool' ?
I see the 'import' option in 'schematool', not sure if its for CQL scripts.
Is there any way to import a set of CQL commands using 'cqlsh' or 'schematool' ?
I see the 'import' option in 'schematool', not sure if its for CQL scripts.
You can pipe (or copy and paste) CQL commands into cqlsh directly, but there isn't (yet) any good way to have it stop on error. https://issues.apache.org/jira/browse/CASSANDRA-3479 is tracking the addition of that feature.