Commit Graph

176 Commits

Author SHA1 Message Date
Brandon Williams bd27527211 cqlsh: update encoding for collections
Patch by paul cannon reviewed by brandonwilliams for CASSANDRA-4500
2012-08-31 07:42:31 -05:00
Brandon Williams 7ddb5c7a47 cqlsh: handle fully qualified class names
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4546
2012-08-16 17:26:24 -05:00
Sylvain Lebresne ac960ecbe8 Fix debug program for the binary protocol after package name change 2012-08-08 17:51:00 +02:00
Brandon Williams fc8e4b5656 FIx cqlsh COPY FROM without explicit column names.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4470
2012-07-29 11:50:10 -05:00
Brandon Williams 3a8bd3657a Merge branch 'cassandra-1.1' into trunk 2012-07-28 14:05:01 -05:00
Brandon Williams 2d71a8eea5 Fix online help in cqlsh for COPY commands.
Patch by paul cannon, reviewed by brandon williams for CASSANDRA-4469
2012-07-28 14:01:57 -05:00
Brandon Williams 94e413f5a1 Merge branch 'cassandra-1.1' into trunk 2012-07-26 12:39:41 -05:00
Brandon Williams 10372c20df cqlsh: fix problem describing pre-cql3 CFs that are case-sensitive
Patch by paul cannon reviewed by brandonwilliams for CASSANDRA-4385
2012-07-26 12:38:10 -05:00
Brandon Williams e73b2a68bf cqlsh: add a COPY TO command
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4434
2012-07-24 14:01:42 -05:00
Brandon Williams 9a63394765 cqlsh: add a COPY TO command
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4434
2012-07-24 13:57:19 -05:00
Brandon Williams d6b7dd60fe Merge branch 'cassandra-1.1' into trunk 2012-07-23 11:46:29 -05:00
Brandon Williams 29379a5254 Fix startup script return code.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4271
2012-07-23 11:44:52 -05:00
Brandon Williams ee5c09a857 Merge branch 'cassandra-1.1' into trunk 2012-07-11 09:44:27 -05:00
Brandon Williams 3e4858271d cqlsh: describe command outputs valid CQL.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4380
2012-07-11 09:38:22 -05:00
Sylvain Lebresne 6d3a3eed27 Custom CQL protocol
patch by slebresne; reviewed by yukim and norman for CASSANDRA-2478
2012-07-05 18:21:09 +02:00
Sylvain Lebresne 75453d0179 Improve scrub and allow to run it offline
patch by slebresne; reviewed by jbellis for CASSANDRA-4321
2012-06-29 10:37:10 +02:00
Brandon Williams 0ba2631ee2 cqlsh: add COPY command to load data from CSV flat files
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4012
2012-06-18 13:24:32 -05:00
Brandon Williams 0cc168a966 Fix cqlsh ASSUME broken by CASSANDRA-4198.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4352
2012-06-18 13:09:50 -05:00
Brandon Williams 55d4dd6547 Add an option to cqlsh to authenticate to a keyspace by default.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4108
2012-06-01 12:56:49 -05:00
Brandon Williams 38748b43d8 cqlsh: update recognized syntax for cql3
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4198
2012-05-18 10:22:23 -05:00
Brandon Williams 51767c198d Merge from 1.0 2012-05-15 17:24:26 -05:00
Brandon Williams be9fa05d06 Enable piping to cqlsh with locale.getpreferredencoding()
Patch by paul cannon, reviewd by brandonwilliams for CASSANDRA-4113
2012-05-15 17:19:04 -05:00
Brandon Williams 44e7a08903 Cqlsh: fix 'describe columnfamily' from CASSADRA-4164
Patch by paul cannon, reviewed by brandonwilliams
2012-05-04 12:42:28 -05:00
Brandon Williams f1ee34f08f cqlsh: in cql3 mode, use cql3 quoting when outputting cql.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4173
2012-05-01 09:48:27 -05:00
Brandon Williams b81f5723ef Cqlsh supports DESCRIBE on cql3-style composite CFs.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4164
2012-04-27 16:05:42 -05:00
Jonathan Ellis dc975e8ac3 fix recognizing uppercase SELECT keyword
patch by Jonas Dohse and pcannon for CASSANDRA-4161
2012-04-19 14:00:32 -05:00
paul cannon 8df0cea779 allow cql version selection 2012-04-06 11:03:52 -05:00
Brandon Williams 2ca983d9c0 Merge from 1.0 2012-04-05 15:09:44 -05:00
Jonathan Ellis c9f88103d0 guess correct version of Python for Arch Linux
patch by Andrew Ash and Paul Cannon for CASSANDRA-4090
2012-04-03 11:12:13 -05:00
Brandon Williams e4e87661d5 Restore defaultdict import 2012-03-30 14:31:56 -05:00
Brandon Williams e3c4c095f0 Merge branch 'cassandra-1.0' into cassandra-1.1.0 2012-03-27 14:30:51 -05:00
Brandon Williams 270d0165da cqlsh: check for cql driver colname type support, overhaul column coloring
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4003
2012-03-27 14:29:10 -05:00
Brandon Williams 9fc1d5c23a cqlsh: fix col. width in presence of wide unicode glyphs
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4033
2012-03-27 13:51:02 -05:00
Sylvain Lebresne d64b9fff57 cqlsh: tab-complete key alias for ALTER CF ALTER
patch by thepaul; reviewed by slebresne for CASSANDRA-3873
2012-02-24 11:20:14 +01:00
Sylvain Lebresne c691e09f14 Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-22 11:39:44 +01:00
paul cannon 44ac7a04e0 cqlsh: look for cqlshlib relative to realpath
patch by thepaul; reviewed by slebresne for CASSANDRA-3767

i.e., the realpath of the cqlsh executable, instead of the path as
called, which could be a symlink. If cqlsh is called via symlink, we are
more likely to find cqlshlib relative to the real location than relative
to the symlink.
2012-02-22 11:38:46 +01:00
Sylvain Lebresne 40bb5509b9 Extra change for #3933 for 1.1 2012-02-22 11:32:17 +01:00
Sylvain Lebresne d9124ed68c Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-22 11:30:50 +01:00
paul cannon 1ad1c12829 cqlsh: ignore missing CfDef opts
patch by thepaul; reviewed by slebresne for CASSANDRA-3933

We don't want to try to track every possible CF
option supported by different versions of Cassandra, so if we try
to reference one and it's not in the object at all, that's fine,
don't try to display it.
2012-02-22 11:29:52 +01:00
Brandon Williams 9417eb6299 cqlsh: handle deserialization errors.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3874
2012-02-16 09:23:42 -06:00
Brandon Williams cd36f97571 cqlsh: handle deserialization errors.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3874
2012-02-16 09:21:55 -06:00
Brandon Williams 0f3ff051ef Merge branch 'cassandra-1.0' into cassandra-1.1 2012-02-06 14:58:59 -06:00
paul cannon b527d9ffe1 Fix cqlsh data display on python <2.7
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-3846
2012-02-06 13:32:03 -06:00
paul cannon d4f2051578 cqlsh: update syntax for tab completions
Patch by Paul Cannon, reviewed by brandonwilliams for CASSANDRA-3757
2012-01-30 15:43:53 -06:00
paul cannon 8a5436a2b6 add cqlsh to Debian package 2012-01-29 19:09:34 -06:00
paul cannon 1387d92fcd cqlsh version 2.0.0 -> 2.1.0 2012-01-29 19:01:25 -06:00
paul cannon b6344887c2 cqlsh: use python-cql and thrift bindings from lib
..if possible.
2012-01-29 19:01:25 -06:00
Jonathan Ellis 73f7104cd3 Merge branch 'cassandra-1.0' into trunk 2012-01-27 09:29:35 -06:00
Jonathan Ellis 2a1ec27e26 s/goto err/goto :err/ 2012-01-27 09:29:21 -06:00
Jonathan Ellis 90e3ec4403 fix classpath quoting
patch by Nick Bailey and jbellis for CASSANDRA-3744
2012-01-27 09:29:19 -06:00