Sam Tunnicliffe
c9d6c725dd
Promote protocol v5 from beta
...
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Eduard Tudenhoefner
for CASSANDRA-14973
2021-02-23 16:46:39 +00:00
Adam Holmberg
cb71f23958
cqlsh row_id resets on page boundaries
...
patch by Adam Holmberg; reviewed by Brandon Williams, David Capwell for CASSANDRA-16160
2020-12-17 09:17:43 -08:00
Sam Tunnicliffe
a7c4ba9eee
Improve checksumming and compression in protocol V5
...
This reverts the changes made to the native protocol V5 wire format in
CASSANDRA-13304 and subsequent follow up JIRAs (CASSANDRA-15556 &
CASSANDRA-14716). The framing format has been re-implemented based on the
internode messaging format developed in CASSANDRA-15066.
OPTIONS and STARTUP messages are unframed (i.e. identical to the V4 format).
After sending its response to a STARTUP message, the server modifies the
pipeline and all further messages are sent (and should be expected by the
client to be received) in the format determined by the protocol version of
the STARTUP message.
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Caleb Rackliffe
for CASSANDRA-15299
2020-12-01 18:49:06 +00:00
Rens Groothuijsen
1b1b87cfe3
Strip comment blocks from cqlsh input before processing statements
...
patch by Rens Groothuijsen; reviewed by Mick Semb Wever for CASSANDRA-15802
2020-08-20 13:57:01 +02:00
Ekaterina Dimitrova
8abbfc1fc5
Fix unicode characters in cqlsh input
...
Patch by Ekaterina Dimitrova, reviewed by dcapwell and brandonwilliams
for CASSANDRA-15990
2020-08-19 10:33:19 -05:00
Brandon Williams
eebb9e02cd
Merge branch 'cassandra-3.11' into trunk
2020-06-30 17:57:22 -05:00
yifan-c
9251b8116f
Fix cqlsh output when fetching all rows in batch mode
...
Patch by Yifan Cai, reviewed by brandonwilliams for CASSANDRA-15905
2020-06-30 17:54:39 -05:00
Robert Stupp
4e47bfb3a1
Add support for server side DESCRIBE statements
...
patch by Robert Stupp; reviewed by Dinesh Joshi and Benjamin Lerer for CASSANDRA-14825
2020-06-29 18:01:02 +02:00
Dinesh A. Joshi
ffa05ef240
Fix CQLSH UTF-8 encoding issue for Python 2/3 compatibility
...
This fix also addresses test failures due to cqlsh return code behavior change
Patch by Dinesh Joshi; Reviewed by Jordan West and Mick Semb Wever for CASSANDRA-15739
2020-04-22 12:44:47 -07:00
Dinesh A. Joshi
6ee67a64ea
Merge branch 'cassandra-3.11' into trunk
2020-04-17 22:26:24 -07:00
Dinesh A. Joshi
9b940a511c
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-04-17 22:14:18 -07:00
Jacob Becker
a738c58022
cqlsh return non-zero status when STDIN CQL fails
...
Patch By Jacob Becker a.k.a. plastikat; reviewed by Jordan West and Dinesh Joshi for CASSANDRA-15623
2020-04-17 21:47:40 -07:00
Eduard Tudenhoefner
c05443c098
Allow cqlsh to run with Python 2.7/Python 3.6+
...
* Adds a minimal manual test that starts cqlsh with python3.7 & 3.8 in a Docker container. It also fixes a minor issue when starting up cqlsh with python3.7+, where `webbrowser._tryorder` is `None` as can be seen in https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L1 . Note that we're checking `webbrowser._tryorder` for `None` instead of doing `webbrowser.get()` because it's likely that there's no default browser installed in a Dockerized environment and so things would fail with `could not locate runnable browser` (https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L65 )
* Adds python3.8 testing to CircleCI
* Fixes some Python warnings that occur with newer versions
patch by Eduard Tudenhöfner, reviewed by Mick Semb Wever for CASSANDRA-15659
2020-04-14 20:58:40 +02:00
Yuki Morishita
d069fd235f
Fix cqlsh erroring out on Python 3.7 due to webbrowser module being absent
...
Patch by Yuki Morishita; Reviewed by Dinesh Joshi for CASSANDRA-15572
2020-04-07 16:24:22 -07:00
Dinesh A. Joshi
f7b3317379
Update to Python driver 3.21 for cqlsh
...
Patch by Dinesh Joshi; reviewed by Jon Haddad, Andy Tolbert and David Capwell for CASSANDRA-14872
2020-02-20 15:38:44 -08:00
Dinesh A. Joshi
4e0fccc3ed
Fix missing Keyspaces in cqlsh describe output
...
Patch by Dinesh Joshi; reviewed by Jon Haddad and David Capwell for CASSANDRA-15576
2020-02-18 11:26:29 -08:00
Patrick Bannister
bf9a1d487b
Make cqlsh and cqlshlib Python 2 & 3 compatible
...
Patch by Patrick Bannister; reviewed by Dinesh Joshi, Andy Tolbert and David Capwell for CASSANDRA-10190
2020-02-14 10:33:57 -08:00
Sam Tunnicliffe
164c8f6def
Merge branch 'cassandra-3.11' into trunk
2019-10-08 18:46:33 +01:00
Sam Tunnicliffe
3040965668
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-10-08 18:44:48 +01:00
Sam Tunnicliffe
0388d89e29
Allow max protocol version to be capped
...
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Aleksey
Yeschenko for CASSANDRA-15193
2019-10-08 18:09:52 +01:00
Mick Semb Wever
0aca1b9df8
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-09-05 11:20:12 +10:00
Mick Semb Wever
21ec39a9d6
Merge branch 'cassandra-2.2' into cassandra-3.0
2018-09-05 11:17:49 +10:00
Mick Semb Wever
62e48c5f3f
Fix incorrect cqlsh results when selecting same columns multiple times
...
Patch by Anthony Grasso; reviewed by Mick Semb Wever for CASSANDRA-13262
2018-09-05 11:13:49 +10:00
Chris Lohfink
0d464cd25f
Implement virtual keyspace interface
...
patch by Benjamin Lehrer, Chris Lohfink, and Aleksey Yeschenko for
CASSANDRA-7622
2018-05-18 16:45:45 +01:00
Stefan Podkowinski
845243db93
Fix cqlsh.py ssl flag regression
...
patch by Stefan Podkowinski; reviewed by Jay Zhuang for CASSANDRA-14299
2018-04-17 10:46:57 +02:00
Ariel Weisberg
59b5b6bef0
Allow storage port to be configurable per node
...
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-7544
2018-01-25 14:32:24 -05:00
Jason Brown
6d324f9d76
Merge branch 'cassandra-3.11' into trunk
2018-01-15 06:06:51 -08:00
Jason Brown
02bbdd6342
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-01-15 06:05:04 -08:00
Jason Brown
685dde10e3
Merge branch 'cassandra-2.2' into cassandra-3.0
2018-01-15 06:03:22 -08:00
Jason Brown
503aec74a5
Merge branch 'cassandra-2.1' into cassandra-2.2
2018-01-15 06:01:14 -08:00
Alex Petrov
6d429cd031
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-11-06 15:52:31 +01:00
Alex Petrov
6c29ee84a2
Allow dropping COMPACT STORAGE flag
...
Patch by Alex Petrov; reviewed by Sylvain Lebresne for CASSANDRA-10857.
2017-11-06 15:44:51 +01:00
Andrés de la Peña
43e2a10707
Copy session properties on cqlsh.py do_login
...
patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-13847
2017-09-13 17:58:26 +01:00
Andrés de la Peña
4b777d6271
Merge branch 'cassandra-3.11' into trunk
2017-08-24 17:03:41 +01:00
Andrés de la Peña
1a2ad2ee04
Copy session properties on cqlsh.py do_login
...
patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-13640
2017-08-24 16:56:12 +01:00
Andrés de la Peña
000007f67c
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-08-24 16:34:03 +01:00
Andrés de la Peña
9497191f5b
Copy session properties on cqlsh.py do_login
...
patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-13640
2017-08-24 16:29:11 +01:00
Corentin Chary
ed0243954f
cqlsh: don't pause when capturing data
...
Patch by Corentin Chary; Reviewed by Chris Lohfink for CASSANDRA-13473
2017-08-10 18:02:31 -07:00
Murukesh Mohanan
aaf2011287
Fix incorrect cqlsh results when selecting same columns multiple times
2017-05-04 19:56:03 +02:00
Matt Byrd
9c54d02f73
Fix cqlsh automatic protocol downgrade regression
...
Patch by Matt Byrd; reviewed by Mick Semb Wever for CASSANDRA-13307
2017-04-19 16:15:37 +10:00
Matt Byrd
8f5f54fb1c
Fix cqlsh automatic protocol downgrade regression
...
Patch by Matt Byrd; reviewed by Mick Semb Wever for CASSANDRA-13307
2017-04-18 17:12:50 +10:00
Sylvain Lebresne
4881d9c308
Thrift removal
...
patch by Sylvain Lebresne; reviewed by Aleksey Yeschenko for CASSANDRA-11115
2016-12-13 10:27:12 +01:00
Tyler Hobbs
8de24ca68a
Merge branch 'cassandra-3.0' into cassandra-3.11
2016-11-29 15:34:26 -06:00
Tyler Hobbs
d70b336de3
Merge branch 'cassandra-2.2' into cassandra-3.0
2016-11-29 15:30:35 -06:00
Adam Holmberg
d38bf9faa4
Fix cqlsh DESC TYPES errors
...
Patch by Adam Holmberg; reviewed by Tyler Hobbs for CASSANDRA-12914
2016-11-29 15:30:09 -06:00
Eduard Tudenhoefner
578815541a
Move cqlsh syntax rules into separate module and allow easier customization
...
patch by Eduard Tudenhoefner; reviewed by Stefania Alborghetti for CASSANDRA-12897
2016-11-14 14:24:08 +08:00
Stefania Alborghetti
13b7362494
Avoid potential AttributeError in cqlsh due to no table metadata
...
Patch by Stefania Alborghetti; reviewed by Robert Stupp for CASSANDRA-12815
2016-10-25 10:03:21 +08:00
Stefania Alborghetti
a0419085d5
cqlsh fails to format collections when using aliases
...
Patch by Stefania Alborghetti; reviewed by Robert Stupp for CASSANDRA-11534
2016-10-13 09:26:16 +08:00
Stefania Alborghetti
81fd9c6c2b
Merge branch 'cassandra-3.0' into trunk
2016-09-22 09:01:52 +08:00
Stefania Alborghetti
47b50b4557
Merge branch 'cassandra-2.2' into cassandra-3.0
2016-09-22 08:58:52 +08:00