Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

turif on "Cassandra columnfamilies created by Sqoop"

$
0
0

Hi,

I used sqoop to import data into cassandra. When I queried the structure I got similar like this:

cqlsh:backup> describe columnfamily cf_test;

CREATE TABLE cf_test (
key text PRIMARY KEY
) WITH
bloom_filter_fp_chance=0.010000 AND
caching='KEYS_ONLY' AND
comment='' AND
dclocal_read_repair_chance=0.000000 AND
gc_grace_seconds=864000 AND
read_repair_chance=0.100000 AND
replicate_on_write='true' AND
populate_io_cache_on_flush='false' AND
compaction={'class': 'SizeTieredCompactionStrategy'} AND
compression={'sstable_compression': 'SnappyCompressor'};

But when I executed a "select * from cf_test;"

I got
KEY, COLUMN1, VALUE fields.

Can somebody explain this discrepancy between the structure came from describe and the select command?

Thanks,

Ferenc


Viewing all articles
Browse latest Browse all 387

Trending Articles