cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard L. Burton III" <>
Subject Re: Recommendations for an embedded Cassandra and Unit Tests
Date Mon, 11 Jan 2016 21:52:56 GMT
What I'm noticing with these projects is that they don't handle CQL files
properly. e.g., cassandra-unit dies when you have a string that contains ;
inside of it. The parsing logic they use is very primitive in the sense
they simple look for ; to denote the end of a statement.

Is there any class in Cassandra I could use that given a *.cql file, it'll
return a list of statements inside of it?

Looking at CQLParser, it's only good for parsing a single statement vs. a
file that contains multiple statements.

On Mon, Jan 11, 2016 at 3:06 PM, DuyHai Doan <> wrote:

> Achilles 4.x does offer an embedded Cassandra server support with some
> utility classes like ScriptExecutor. It supports C* 2.2 currently :
> Le 11 janv. 2016 20:47, "Richard L. Burton III" <> a
> écrit :
>> I'm looking to see what's recommended for an embedded version of
>> Cassandra, just for unit testing.
>> I'm looking at but I
>> wanted to see if there's was a better recommendation?
>> --
>> -Richard L. Burton III
>> @rburton

-Richard L. Burton III

View raw message