Commit Graph

293 Commits

Author SHA1 Message Date
Mikhail Stepura 8436ee6166 Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
2014-05-30 11:00:05 -07:00
Mikhail Stepura e2c74d5655 cqlsh: Count only empty lines for a "Blank lines" warning.
patch by Mikhail Stepura; reviewed by Tyler Hobbs for CASSANDRA-7325
2014-05-30 10:52:20 -07:00
Mikhail Stepura 3391b99a0b cqlsh: Handle collections embedded into UDTs correctly.
patch by Mikhail Stepura; reviewed by Tyler Hobbs for CASSANDRA-7267
2014-05-28 15:14:25 -07:00
Patrick McFadin 6faf80c9d2 cqlsh: always emphasize the partition key in DESC output
patch by Patrick McFadin; reviewed by Aleksey Yeschenko for
CASSANDRA-7274
2014-05-25 18:14:39 +03:00
Tyler Hobbs e0502ea298 Bump cqlsh default CQL version to 3.1.7
Follow up for CASSANDRA-6875
2014-05-23 16:31:20 -05:00
Mikhail Stepura a3effe6698 Support new UDT serialization format for CQLSH
patch by Mikhail Stepura; reviewed by Tyler Hobbs for CASSANDRA-7261
2014-05-21 13:27:55 -07:00
Mikhail Stepura 56136946a7 Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
	bin/cqlsh
2014-05-08 15:22:17 -07:00
Mikhail Stepura d48c797f77 cqlsh: Accept and execute CQL statement(s) from command-line parameter
patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7172
2014-05-08 15:13:08 -07:00
Mikhail Stepura a0d096b036 Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
2014-05-08 13:32:40 -07:00
Mikhail Stepura 51f9e9804d Merge branch 'cassandra-1.2' into cassandra-2.0
Conflicts:
	bin/cqlsh
2014-05-08 13:31:03 -07:00
Mikhail Stepura 8abe9f6f52 cqlsh should return a non-zero error code if a query fails
patch by Branden Visser and Mikhail Stepura; reviewed by Mikhail Stepura for CASSANDRA-6344
2014-05-08 13:27:41 -07:00
Mikhail Stepura a5266bc077 Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
	bin/cqlsh
2014-05-03 23:30:22 -07:00
Mikhail Stepura e9bdb6a95c Issue a warning after 3 empty lines in statement
patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7142
2014-05-03 23:26:40 -07:00
Dave Brosius c073fab77d bump cqlsh's DEFAULT_CQLVER to 3.1.6 2014-04-24 08:56:25 -04:00
Mikhail Stepura 13d3a47461 cqlsh: Updated CQL3 parser to support functions and BLOB literals
patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for CASSANDRA-7018
2014-04-18 18:01:41 -07:00
Mikhail Stepura 20bc92463a Ninja: don't close the connection you don't own (after SOURCE command) 2014-03-27 11:56:32 -07:00
Mikhail Stepura 35b7da4d0d Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	bin/cqlsh
2014-03-21 11:45:19 -07:00
J.B. Langston 37b9410675 Make cqlsh prompt for a password if the user doesn't enter one.
patch by J.B. Langston; reviewed by Mikhail Stepura for CASSANDRA-6902
2014-03-21 11:42:06 -07:00
Mikhail Stepura a490d7efa7 Ninja-commit to suppress blist-related warnings in cqlsh 2014-03-18 21:15:24 -07:00
Mikhail Stepura f49df8c9b0 Merge branch 'cassandra-2.0' into cassandra-2.1 2014-03-13 14:07:15 -07:00
Mikhail Stepura 3dcc8c25e5 Merge branch 'cassandra-1.2' into cassandra-2.0 2014-03-13 14:07:04 -07:00
Shiti Saxena 972d3da2e8 Delimiter not working for special characters in COPY command from CQLSH
patch by Shiti Saxena; reviewed by Mikhail Stepura for CASSANDRA-6773
2014-03-13 14:06:51 -07:00
Mikhail Stepura caf609cf6f Switch cqlsh from cassandra-dbapi2 to python-driver
patch by Mikhail Stepura for CASSANDRA-6307; reviewed by Aleksey Yeschenko and Tyler Hobbs
2014-03-12 15:02:14 -07:00
Mikhail Stepura e2a719ad0d Merge branch 'cassandra-2.0' into cassandra-2.1 2014-03-04 11:51:38 -08:00
Mikhail Stepura b07f4b8c77 Handle static columns in cqlsh.
Patch by Mikhail Stepura for CASSANDRA-6703; reviewed by Aleksey Yeschenko
2014-03-04 11:47:58 -08:00
Mikhail Stepura ce2bbcbf02 Return an empty meta object instead of None.
Patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-6741
2014-02-19 14:43:14 -08:00
Aleksey Yeschenko 41433073f6 Merge branch 'cassandra-2.0' into trunk 2014-02-15 04:07:12 +03:00
Aleksey Yeschenko bbc56eb60d cqlsh: fix BATCH CAS result printing (for once #6561 is committed) 2014-02-15 04:03:10 +03:00
Mikhail Stepura e5199eeac1 User types support for cqlsh.
Patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for CASSANDRA-6305
2014-02-14 10:55:32 -08:00
Aleksey Yeschenko 5fa6055107 Allow specifying custom secondary index options in CQL3
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-6480
2014-01-07 18:03:37 +03:00
Aleksey Yeschenko b68719524e cqlsh: hanlde symlinks properly
patch by Yinyin L; reviewed by Aleksey Yeschenko for CASSANDRA-6425
2013-12-01 20:17:56 +03:00
Aleksey Yeschenko 18260c5f2c cqlsh: fix LIST USERS output
patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for
CASSANDRA-6242
2013-10-26 15:31:47 +03:00
Aleksey Yeschenko 941cd456ae cqlsh: add SHOW SESSION <tracing-session> command
patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for
CASSANDRA-6228
2013-10-23 22:35:14 +08:00
Aleksey Yeschenko 12413ad1f8 Backport CASSANDRA-6196 to 1.2
patch by Mikhail Stepura; reviewed by Aleksey Yeschenko for
CASSANDRA-6196
2013-10-22 14:22:13 +08:00
Aleksey Yeschenko 20f1b816b3 cqlsh: ignore empty 'value alias' in DESCRIBE
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-6139
2013-10-21 23:14:37 +08:00
Jason Brown 5c0c84b3d1 implementing CL.LOCAL_ONE 2013-10-17 13:37:12 -07:00
Jason Brown c9528f9c9c apply local_one changes to 2.0 2013-10-16 15:44:33 -07:00
Aleksey Yeschenko 997c49a3a7 cqlsh: return the result of CAS writes
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5796
2013-09-18 22:48:41 +03:00
Aleksey Yeschenko b362aebd30 Add ability for CQL3 to list partition keys
patch by Aleksey Yeschenko and Dan Jatnieks;
reviewed by Sylvain Lebresne for CASSANDRA-4536
2013-08-21 19:09:58 +03:00
Aleksey Yeschenko 41409770d4 cqlsh: add support for multiline comments
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5798
2013-08-16 21:46:42 +03:00
Aleksey Yeschenko 09a4dc0552 cqlsh: add DESCRIBE FULL SCHEMA variant
patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-5880
2013-08-12 17:06:14 +02:00
Aleksey Yeschenko 703bd684ca Fix (some) 2i on composite components omissions
patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-5851
2013-08-12 12:55:56 +02:00
Jason Brown e01c238fa1 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	CHANGES.txt
	src/java/org/apache/cassandra/tools/NodeCmd.java
2013-07-31 11:24:41 -07:00
Jason Brown ba274adb7a nodetool history logging
patch by jasobrown; reviewed by Dave Brosius for CASSANDRA-5823
2013-07-31 11:14:36 -07:00
Aleksey Yeschenko 308afb20be Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
2013-07-27 04:45:02 +03:00
Aleksey Yeschenko 187f73f897 cqlsh: correct the rest of libedit detection on windows 2013-07-27 04:43:40 +03:00
Aleksey Yeschenko af4e1275ed cqlsh: fix crashing on Windows due to libedit detection
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5812
2013-07-27 04:36:49 +03:00
Aleksey Yeschenko 1810af404c cqlsh: add collections support to COPY
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5698
2013-07-25 21:44:40 +03:00
Aleksey Yeschenko c4c04e780e Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
2013-07-18 23:43:58 +03:00
Aleksey Yeschenko 01b881cb22 cqlsh: handle disabled compression in DESCRIBE output
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5766
2013-07-18 23:42:14 +03:00
Aleksey Yeschenko 3828cc5195 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
2013-07-15 18:38:16 +03:00
Aleksey Yeschenko f79a2d3a6f cqlsh: handle CUSTOM 2i in DESCRIBE output
patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-5760
2013-07-15 18:35:33 +03:00
Aleksey Yeschenko 9c0ca5d603 Merge branch 'cassandra-1.2' into trunk 2013-07-03 00:13:03 +03:00
Aleksey Yeschenko 56c9d2ff26 cqlsh: make C* version handling more flexible 2013-07-03 00:12:34 +03:00
Aleksey Yeschenko e4050e609c cqlsh: Don't show 'null' in place of empty values
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5675
2013-06-27 01:03:07 +03:00
Aleksey Yeschenko f89784339c Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
	pylib/cqlshlib/test/test_cqlsh_output.py
	pylib/cqlshlib/test/test_keyspace_init2.cql
2013-06-27 01:01:18 +03:00
Aleksey Yeschenko 340a66891c cqlsh: Don't show 'null' in place of empty values
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5675
2013-06-27 00:36:46 +03:00
Aleksey Yeschenko 2397bc8c33 Updated CREATE CUSTOM INDEX syntax
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-5639
2013-06-18 17:20:59 +03:00
Aleksey Yeschenko 629abfb52d cqlsh: Add row count to SELECT output
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5636
2013-06-15 01:53:40 +03:00
Aleksey Yeschenko ccc87fb30f Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
2013-06-04 01:00:14 +03:00
Aleksey Yeschenko 46273c4dd4 cqlsh: fix COPY FROM with ReversedType
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5610
2013-06-04 00:58:31 +03:00
Aleksey Yeschenko 4f7e2b8018 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
	pylib/cqlshlib/test/test_cqlsh_completion.py
	pylib/cqlshlib/test/test_cqlsh_output.py
2013-05-29 21:12:08 +03:00
Aleksey Yeschenko 26c65e640c cqlsh: add vertical output option (see EXPAND)
patch by Michał Michalski; reviewed by Aleksey Yeschenko for
 CASSANDRA-5597
2013-05-29 21:01:58 +03:00
Aleksey Yeschenko 83b62421ea Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
2013-05-25 04:09:51 +03:00
Aleksey Yeschenko 67e57a974f cqlsh: add custom prompt support
patch by Cyril Scetbon; reviewed by Aleksey Yeschenko for CASSANDRA-5539
2013-05-25 04:08:16 +03:00
Aleksey Yeschenko f3d2a52b99 cqlsh: ninja-fix DROP INDEX autocompletion for CQL3 tables (2.0) 2013-05-22 02:53:18 +03:00
Aleksey Yeschenko b53d3c453b Merge branch 'cassandra-1.2' into trunk 2013-05-22 02:35:34 +03:00
Aleksey Yeschenko 687ac710cc cqlsh: ninja-fix DROP INDEX autocompletion for CQL3 tables 2013-05-22 02:34:44 +03:00
Aleksey Yeschenko 7f6ac19efb cqlsh: drop CQL2/CQL3-beta support
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5585
2013-05-22 00:47:44 +03:00
Aleksey Yeschenko c70740fbc4 Merge branch 'cassandra-1.2' into trunk 2013-05-15 16:07:46 +03:00
Aleksey Yeschenko 384c27c356 cqlsh: fix DESCRIBE after case insensitive USE
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5567
2013-05-15 16:06:31 +03:00
Aleksey Yeschenko 3ca160ea72 Merge branch 'cassandra-1.2' into trunk 2013-05-07 16:45:51 +03:00
Aleksey Yeschenko 29ad6bdca6 cqlsh: ninja-kill 'Perhaps you meant to use CQL X' warning 2013-05-07 16:44:22 +03:00
Aleksey Yeschenko 08df0b8604 Add alias support to SELECT statement
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-5075
2013-05-06 23:11:52 +03:00
Aleksey Yeschenko b505b90a88 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	NEWS.txt
	doc/cql3/CQL.textile
	src/java/org/apache/cassandra/cql3/Cql.g
	src/java/org/apache/cassandra/cql3/QueryProcessor.java
	src/java/org/apache/cassandra/cql3/statements/CreateIndexStatement.java
2013-05-03 19:38:41 +03:00
Aleksey Yeschenko 64c0d1e7d5 Add custom secondary index support to CQL3
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-5484
2013-05-03 17:59:33 +03:00
Aleksey Yeschenko 5917281000 Merge branch 'cassandra-1.2' into trunk
Conflicts:
	bin/cqlsh
	src/java/org/apache/cassandra/cql3/statements/AlterTableStatement.java
2013-05-01 20:03:26 +03:00
Aleksey Yeschenko 24f6387bcd cqlsh: add CLUSTERING ORDER BY support to DESCRIBE
patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-5528
2013-05-01 19:42:55 +03:00
Aleksey Yeschenko dfca30cb31 Merge branch 'cassandra-1.2' into trunk 2013-04-04 22:00:16 +03:00
Aleksey Yeschenko 6c4b774686 cqlsh: Remove redundant import null-handling logic
Now that we support 'null' in INSERT (CASSANDRA-3783),
do_import_delete step is now unnecessary.
2013-04-04 21:56:22 +03:00
Aleksey Yeschenko 207cdf3013 cqlsh: Remove ASSUME command
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5331
2013-03-22 00:20:13 +03:00
Aleksey Yeschenko 8d03008c20 cqlsh: Fix COPY FROM value quoting and null handling
patch by Aleksey Yeschenko; reviewed by Brandon Williams for
CASSANDRA-5305
2013-03-11 23:08:53 +03:00
Aleksey Yeschenko 265964064b Simplify auth setup and make system_auth ks alterable
Patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-5112
2013-02-14 01:19:04 +03:00
Aleksey Yeschenko 7347d968d0 Merge branch 'cassandra-1.1' into cassandra-1.2
Conflicts:
	bin/cqlsh
2013-02-08 21:53:13 +03:00
Aleksey Yeschenko 310bf34852 cqlsh: ninja-fix indentation in Shell constructor 2013-02-08 21:49:31 +03:00
Aleksey Yeschenko 0b0a00d245 cqlsh: Add default limit to SELECT statements;
patch by Aleksey Yeschenko, reviewed by Brandon Williams for
CASSANDRA-4972
2013-01-04 17:10:29 +03:00
Aleksey Yeschenko 14d62ab115 cqlsh: add unit tests;
patch by Paul Cannon with minor changes by Aleksey Yeschenko, reviewed
by Aleksey Yeschenko for CASSANDRA-3920
2012-12-28 02:30:35 +03:00
Aleksey Yeschenko 63902c6d82 cqlsh: force CL.ONE for tracing and system.schema* queries;
patch by Aleksey Yeschenko, reviewed by Jonathan Ellis for
CASSANDRA-5070
2012-12-17 18:39:18 +03:00
Aleksey Yeschenko f562f0bb1f cqlsh: add DESCRIBE KEYSPACES command;
patch by Aleksey Yeschenko, reviewed by Brandon Williams for
CASSANDRA-5060
2012-12-13 00:07:26 +03:00
Aleksey Yeschenko 36b183f804 cqlsh: fix timestamp formatting on some platforms;
patch by Aleksey Yeschenko, reviewed by Jonathan Ellis for
CASSANDRA-5046
2012-12-10 18:13:13 +03:00
Aleksey Yeschenko 7cfdb14efb cqlsh: improve COPY FROM performance; Patch by Aleksey Yeschenko,
reviewed by Brandon Williams for CASSANDRA-4921
2012-11-19 22:08:43 +03:00
Aleksey Yeschenko 9db882790f cqlsh: make consistency level configurable; patch by Aleksey Yeschenko,
reviewed by Brandon Williams
2012-11-19 21:54:18 +03:00
Aleksey Yeschenko c3173d475f ninja-fix cqlsh get_columnfamily_names_cql3 for case-sensitive keyspace names 2012-11-19 05:50:36 +03:00
Aleksey Yeschenko f56ea8b0da cqlsh: fix DESCRIBE command patch by Aleksey Yeschenko; reviewed by brandonwilliams for CASSANDRA-4913 2012-11-13 01:29:26 +03:00
Brandon Williams ae77ecbaac Merge branch 'cassandra-1.1' into trunk 2012-11-02 15:26:12 -05:00
Brandon Williams 988c10fd39 increase default precision in cqlsh 2012-11-02 15:26:03 -05:00
Brandon Williams a57c472a18 cqlsh: update help for cql3
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4800
2012-11-01 17:27:20 -05:00
Jonathan Ellis 7ca60b4646 add session information to tracing output
patch by Aleksey Yeschenko; reviewed by jbellis for CASSANDRA-4862
2012-10-30 09:38:06 -05:00
Brandon Williams d51643cad4 cqlsh: fix timestamp formatting for tz info
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4746
2012-10-26 08:48:31 -05:00
Brandon Williams 64f3ab2709 cqlsh: allow describing system tables
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4863
2012-10-26 06:31:44 -05:00
Brandon Williams e93eacec70 Merge branch 'cassandra-1.1' into trunk 2012-10-25 05:51:37 -05:00
Brandon Williams 77573c5997 cqlsh: fix help topics
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4811
2012-10-25 05:50:40 -05:00
Jonathan Ellis 8f46176e98 make trace output pretty
patch by Aleksey Yeschenko; reviewed by jbellis for CASSANDRA-4852
2012-10-24 17:03:46 -05:00
Jonathan Ellis 1ded4ff294 fix event_id ordering and remove happened_at 2012-10-23 20:58:38 -05:00
Jonathan Ellis 069de3d035 omit session, event id, and thread from trace output 2012-10-23 20:58:38 -05:00
Brandon Williams f8129b4356 cqlsh: support moving CL to the protocol level
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4823
2012-10-19 14:11:53 -05:00
Brandon Williams 2d83cfc2bb cqlsh: use libedit when readline is not available, if possible
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-3597
2012-10-15 12:31:51 -05:00
Brandon Williams 4d2e5e73b1 cqlsh: use libedit when readline is not available, if possible
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-3597
2012-10-15 12:29:40 -05:00
Brandon Williams 596d54c27e cqlsh: fix copy to/from for cql3
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4674
2012-10-15 12:26:20 -05:00
Brandon Williams ed6d24e592 cqlsh: enable tracing
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4584
2012-10-09 12:46:55 -05:00
Brandon Williams c44af8c2c5 cqlsh: allow configuration of value display formats
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-3756
2012-10-09 10:06:46 -05:00
Brandon Williams 9d7fba9899 cqlsh: allow configuration of value display formats
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-3756
2012-10-09 10:05:31 -05:00
Jonathan Ellis f0fcc4cd87 Revert "cqlsh: add thrift transport factory"
This reverts commit 3f31642c39.
2012-10-09 09:35:45 -05:00
Brandon Williams 2f979ed60f cqlsh: update recognized syntax
Patch by paul cannon and Aleksey Yeschenko, reviewed by brandonwilliams
for CASSANDRA-4488
2012-10-08 11:17:26 -05:00
Brandon Williams 3f31642c39 cqlsh: add thrift transport factory
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4610
2012-10-04 10:08:35 -05:00
Brandon Williams 1c2922c223 cqlsh: add thrift transport factory imeplementation
Patch by Aleksey Yeschenko, reviewed brandonwilliams
2012-10-04 10:04:43 -05:00
Brandon Williams 2edeeeba2d Merge branch 'cassandra-1.1' into trunk 2012-09-26 10:08:32 -05:00
Brandon Williams 4c45288790 cqlsh: alphabetize help
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4034
2012-09-26 09:59:55 -05:00
Brandon Williams 09d3e7f7f7 Missing commit from 4594 merge. 2012-09-18 13:47:56 -05:00
paul cannon ebd60fb74d cqlsh: update DESCRIBE support for collections 2012-09-18 09:30:25 +02:00
paul cannon 9ec77eb66e cqlsh: adapt to CASSANDRA-4018 system cf changes 2012-09-18 09:09:39 +02:00
Brandon Williams 12691ae3a6 Merge branch 'cassandra-1.1' into trunk 2012-09-17 21:42:25 -05:00
Brandon Williams e7f28f3032 cqlsh: catch IOError on history loading
Patch by Aleksey Yeschenko, reviewed by brandonwilliams for
CASSANDRA-4669
2012-09-17 21:41:30 -05:00
Brandon Williams 1f3990f122 Merge branch 'cassandra-1.1' into trunk 2012-09-17 20:44:20 -05:00
Brandon Williams 4d600f3381 Revert "cqlsh: check for non-empty history file before loading"
This reverts commit 6a8ba07313.
2012-09-17 20:44:12 -05:00
Brandon Williams a500e28357 cqlsh: check for non-empty history file before loading
Patch by Brian O'Neill, reviewed by brandonwilliams for CASSANDRA-4669
2012-09-14 16:46:36 -05:00
Brandon Williams 6a8ba07313 cqlsh: check for non-empty history file before loading
Patch by Brian O'Neill, reviewed by brandonwilliams for CASSANDRA-4669
2012-09-14 16:42:54 -05:00
Brandon Williams a26eb3ef66 cqlsh: combine multiline statements into single line history
Patch by Matthew Horsfall, reviewed by brandonwilliams for
CASSANDRA-4666
2012-09-13 15:48:43 -05:00
Brandon Williams 5551d9c396 cqlsh: combine multiline statements into single line history
Patch by Matthew Horsfall, reviewed by brandonwilliams for
CASSANDRA-4666
2012-09-13 15:47:26 -05:00
Brandon Williams 69a243a53e Merge branch 'cassandra-1.1' into trunk 2012-09-13 14:11:40 -05:00
Brandon Williams 751e58d1e7 cqlsh: flush capture output after every command.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4073
2012-09-13 14:05:11 -05:00
Brandon Williams a946e61d17 Merge branch 'cassandra-1.1' into trunk 2012-09-13 14:03:13 -05:00
Brandon Williams 5a63858d0d cqlsh: suggesting cql3 to cql2 users when they get an error and their
statement appears to parse for cql 2, and vice versa.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4454
2012-09-13 14:01:41 -05:00
Brandon Williams ae96aace6d Merge branch 'cassandra-1.1' into trunk 2012-09-13 13:56:14 -05:00
Brandon Williams 1e6cc9aebc cqlsh: sort columns so COPY TO -> FROM works.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4594
2012-09-13 13:53:38 -05:00
Brandon Williams 5bb13b4262 cqlsh: use system.local instead of system.Versions
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4491
2012-09-13 13:31:36 -05:00
Pavel Yaskevich c4692a1713 merge from 1.1 2012-09-11 01:13:05 +03:00
Brandon Williams 7cbc0be23d cqlsh: allow disabling colors.
Patch by Tyler Hobbs, reviewed by brandonwilliams for CASSANDRA-4634
2012-09-10 14:41:43 -05:00
Sylvain Lebresne 500a529e7d Make CQL3 the default CQL implementation
patch by slebresne; reviewed by jbellis for CASSANDRA-4640
2012-09-10 18:50:21 +02:00
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
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 80c3b2dc20 FIx cqlsh COPY FROM without explicit column names.
Patch by paul cannon, reviewed by brandonwilliams for CASSANDRA-4470
2012-07-29 11:48:44 -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 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 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 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
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