datastax/java-driver — pull request #100 by mholland231 (2013-06-07 15:41:33+00:00)
Title: Fixed issue: Unformatted TableMetada.asCQLQuery() appends options.* without spacing

.append("AND ") to .append(" AND ") (Line 379)

Example:
"CREATE TABLE children (childid text,country text,firstname text,lastname text,state text,zip text,PRIMARY KEY (childid)) WITH COMPACT STORAGEAND read_repair_chance = 0.1AND dclocal_read_repair_chance = 0.0AND replicate_on_write = trueAND gc_grace_seconds = 864000AND bloom_filter_fp_chance = 0.01AND caching = KEYS_ONLYAND comment = ''AND compaction = { 'class' : 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy' }AND compression = { 'sstable_compression' : 'org.apache.cassandra.io.compress.SnappyCompressor' };"