Weird behavior on cqlsh while creating table in cassandra from putty -
i trying create 1 table in cassandra
using cqlsh
having following syntax.
create table usertracking ( cwc text, cur_visit_id text, cur_visit_datetime timestamp, cur_visit_last_ts bigint, prev_visit_datetime timestamp, prev_visit_last_ts bigint, tot_page_view bigint, tot_time_spent bigint, tot_visit_count bigint, primary key (cwc) );
but reason when paste syntax on cqlsh
automatically converted following syntax. can please explain behavior. using putty connect cassandra cluster. running on ubuntu.
the problem copy pasting editor newline character @ end of every line.
write query in single line , copy , paste putty.
also if on *nix machine use terminal ssh rather using putty. have better text editing features putty
Comments
Post a Comment