Commit Graph

744 Commits

Author SHA1 Message Date
Brandon Williams 51e3149169 Upgrade cython
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18121
2023-01-20 15:27:50 -06:00
Brandon Williams 4d192f728c get newest pip in cassandra-cqlsh-tests.sh
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18121
2023-01-20 15:27:44 -06:00
Brandon Williams 25e4a89f76 Accommodate python 3.11
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18088
2023-01-20 15:27:24 -06:00
Brandon Williams 1bba8ebee2 Merge branch 'cassandra-4.1' into trunk 2023-01-17 14:32:12 -06:00
Brandon Williams be61ad9d03 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-17 14:31:11 -06:00
Maciej Sokol 175272fff4 Fix formatting of duration in cqlsh
Patch by Maciej Sokol; reviewed by brandonwilliams and edimitrova for
CASSANDRA-18141
2023-01-17 14:28:31 -06:00
yziadeh 1528798a5b Add tests for CQL and cqlsh quote escaping
Patch by Yaman Ziadeh; Reviewed by Paulo Motta and Brandom Williams for CASSANDRA-15458
2023-01-17 15:27:51 -05:00
maxwellguo ee8b66da8c Make incremental backup configurable per table
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Benjamin Lerer for CASSANDRA-15402
2022-11-19 10:57:54 +01:00
Brad Schoening 3860a90c5f Change shebangs of Python scripts to resolve Python 3 from env command
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17832

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2022-11-18 14:38:03 +01:00
Ekaterina Dimitrova d5fd0dceee Merge branch 'cassandra-4.1' into trunk 2022-11-15 17:02:18 -05:00
Ekaterina Dimitrova 444da423d5 CirleCI: Add large Dtests and J8/J11 Java distributed tests;
Fix CQLSHLIB tests config and Python DTests split; CQLSHLIB tests should run with NUM_TOKENS=16
patch by Ekaterina Dimitrova; reviewed by Andres de la Pena for CASSANDRA-18001
2022-11-15 16:12:14 -05:00
Bereng f317eb4f2f Merge branch 'cassandra-4.1' into trunk 2022-11-15 09:36:10 +01:00
Bereng ca00caffab Merge branch 'cassandra-4.0' into cassandra-4.1 2022-11-15 09:34:24 +01:00
Bereng 1df8174d67 Cqlshlib tests are j11 greedy
Patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-18039
2022-11-15 09:31:45 +01:00
Brad Schoening 8a5bdf61db replace local wcwidth.py with pypi module 'wcwidth'
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17287
2022-11-14 06:23:18 -06:00
Bereng 0f2fb1eeb3 Cqlsh Cython failure on 4.0
Patch by Berenguer Blasi; reviewed by Michael Semb Wever for CASSANDRA-18036
2022-11-11 10:56:02 +01:00
Mick Semb Wever bdfa27f246
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Upgrade Cython, minimum required now is 0.27.2
2022-11-10 14:42:42 +01:00
Mick Semb Wever 9fe9b04d85
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Upgrade Cython, minimum required now is 0.27.2
2022-11-10 14:42:09 +01:00
Mick Semb Wever 38806e795b
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Upgrade Cython, minimum required now is 0.27.2
2022-11-10 14:41:34 +01:00
Mick Semb Wever a44209cf43
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Upgrade Cython, minimum required now is 0.27.2
2022-11-10 14:40:29 +01:00
Mick Semb Wever d9ef794ef6
Upgrade Cython, minimum required now is 0.27.2
patch by Mick Semb Wever; reviewed by Berenguer Blasi for CASSANDRA-18028
2022-11-10 14:34:55 +01:00
Brad Schoening addc5748a7 Add missing cqlsh completion and round out cqlsh completion test coverage
IF (NOT) EXISTS is now also offered in cqlsh completion for CREATE TYPE, DROP TYPE, CREATE ROLE and DROP ROLE

patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16640
2022-11-07 18:00:53 +01:00
Stefan Miklosovic c71f04bd5b Add memtable option among possible tab completions for a table
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17982
2022-10-21 22:34:33 +02:00
Stefan Miklosovic c4c4ad5cbc Merge branch 'cassandra-4.1' into trunk 2022-10-04 20:38:01 +02:00
Stefan Miklosovic f0fd551c7c Merge branch 'cassandra-4.0' into cassandra-4.1 2022-10-03 16:27:45 +02:00
Stefan Miklosovic e9b411e3e0 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-10-03 12:06:37 +02:00
Stefan Miklosovic ad6bca4ab5 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-10-03 10:43:08 +02:00
Brad Schoening 83c1f7713b Fix auto-completing "WITH" when creating a materialized view (CASSANDRA-17879)
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17879
2022-10-03 10:35:38 +02:00
Brad Schoening ecceb446e0 Refactor internals of cqlsh.py to cqlshlib
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17531
2022-09-22 09:26:47 +02:00
Stefan Miklosovic b6d8e2ce6b Make disabling auto snapshot on selected tables possible
patch by Tommy Stendahl; reviewed by Stefan Miklosovic and Aleksey Yeschenko for CASSANDRA-10383

Co-authored-by: Tommy Stendahl <tommy.stendahl@ericsson.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2022-09-08 10:25:34 +02:00
Bernardo Botella Corbi 9a4a677823 Removed Python < 2.7 support from formatting.py
Patch by Bernardo Botella Corbi, reviewed by Brad Schoening, ycai and
brandonwilliams for CASSANDRA-17694
2022-08-09 12:16:59 -05:00
Brad Schoening 72c2270a80 Resolve pylint issues in pylexotron.py and improve readability
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17779
2022-08-09 09:00:06 -05:00
Bereng fca2502e1d Merge branch 'cassandra-4.1' into trunk 2022-06-14 07:01:04 +02:00
Bereng 92aacd6673 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-14 07:00:04 +02:00
Bereng bb5b2d2889 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-06-14 06:59:00 +02:00
Tanuj Nayak f884dda75b CQLSH unicode control character list is too liberal
patch by Tanuj Nayak; reviewed by Berenguer Blasi, Brandon Williams for CASSANDRA-17617
2022-06-14 06:57:16 +02:00
Brad Schoening 72d5b4d1b1 add CQLSH command SHOW REPLICAS
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17577
2022-05-27 17:56:47 +02:00
Yifan Cai 26dd119679 Add new CQL function maxWritetime
patch by Yifan Cai; reviewed by Andres de la Peña, Francisco Guerrero for CASSANDRA-17425
2022-05-18 11:56:51 -07:00
Branimir Lambov e4e19e33fa Add memtable API (CEP-11)
patch by Branimir Lambov; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17034
2022-04-29 14:56:20 +03:00
Bhouse99 381c2a4fa8 add plugin support for CQLSH
patch by Brian Houser; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16456
2022-04-27 12:35:04 +02:00
Benjamin Lerer 1ad8bf67a9 Allow to aggregate by time intervals
Patch by Benjamin Lerer; review by Andres De la Pena and Yifan Cai for CASSANDRA-11871

The patch allow to use pure monotonic functions on the last attribute of the GROUP BY clause and introduce some floor functions that can be use to group by time range.

A function is pure if:
    1. The function return values are identical for identical arguments
    2. The function application has no side effects

A function is monotonic if it is either entirely nonincreasing or nondecreasing.
2022-04-22 10:59:42 +02:00
ROCHETEAU Antoine d80bb323c9 CONTAINS and CONTAINS KEY support for Lightweight Transactions
patch by ROCHETEAU Antoine; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-10537
2022-04-21 09:16:07 +02:00
Brad Schoening 0d860ec662 Add teardown to test_cqlsh_completion
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17465
2022-04-20 14:33:52 -05:00
Brad Schoening 634131961a make pylib PEP and pylint compliant 2022-04-13 07:16:04 -05:00
Brad Schoening 9711cd33c4 remove support for deprecated version specific TLS in Python 3.6
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17365
2022-04-06 14:01:47 +02:00
Brad Schoening f28dd90feb resolve several pylint issues in cqlsh.py and pylib
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17480
2022-04-05 14:12:32 +02:00
Jogesh Anand e137c7c34c Add support for IF EXISTS and IF NOT EXISTS in ALTER statements
patch by Jogesh Anand; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-16916
2022-04-04 11:35:16 +02:00
Brad Schoening d70f6e0d59 remove unused 'parse' module
Patch by Brad Schoening; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-17484
2022-04-01 05:12:12 -05:00
Brad Schoening 768bdffe52 change six functions in cqlshlib to native Python 3 ones
patch by Brad Schoening; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17417
2022-03-30 12:12:46 -05:00
Ekaterina Dimitrova 813e6ae4a0 Revert "change six functions in cqlshlib to native Python 3 ones"
This reverts commit 7275443eca.
2022-03-28 15:59:10 -04:00