Commit Graph

91 Commits

Author SHA1 Message Date
Lorina Poland 998a98eae8
Reorganizing doc directories using new info arch
patch by Lorina Poland; reviewed by Mick Semb Wever, Štefan Miklošovič for CASSANDRA-18228
2023-04-29 17:59:24 +02:00
Lorina Poland 6b58ad0e5b DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906
2023-04-07 11:13:47 -07:00
Andrés de la Peña d3c55ed8f8 Use snake case for the names of CQL native functions
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-18037
2023-04-04 15:01:34 +01:00
Andrés de la Peña 2e2a49fcdc CEP-20: Dynamic Data Masking
Allows to attach the native masking functions and UDFs to the definitions of
table columns in the schema, as defined by CEP-20.

The functions masking a column can be specified on CREATE TABLE queries, right
at the end of the column definition. The mask of a column can also be changed
or dropped with an ALTER TABLE query. Once a column is masked, SELECT queries
will always return the masked value of the column. That masking is done on the
coordinator, at the end of the query execution. Thus, masking won't affect any
filters or ordering, which would be based on the clear values of the masked
columns. Column masks are stored on the table system_schema.column_masks.

A new UNMASK permission allows to see the clear data of columns with an
attached mask. Also, a new SELECT_MASKED permission allows to run SELECT
queries restricting the clear values of masked columns. Superusers have both
permissions by default, whereas regular users don't have them.

Dynamic data masking can be enabled/disabled with the config property
dynamic_data_masking_enabled in cassandra.yaml. It is disabled by default.

This is the combination of multiple tickets:

 * Add masking functions to column metadata (CASSANDRA-18068)
 * Add UNMASK permission (CASSANDRA-18069)
 * Add SELECT_MASKED permission (CASSANDRA-18070)
 * Add support for using UDFs as masking functions (CASSANDRA-18071)
 * Add feature flag for dynamic data masking (CASSANDRA-18316)

patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-17940
2023-03-24 13:57:18 +00:00
Andrés de la Peña 3eb605b4db Remove deprecated CQL functions dateOf and unixTimestampOf
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-18328
2023-03-16 15:43:45 +00:00
Stefan Miklosovic 58a3b12508
Remove DateTieredCompactionStrategy
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski for CASSANDRA-18043
2023-03-16 09:38:10 +01:00
Tibor Répási 414f4143e6
Restore 4.1's doc update for virtual table system_views.clients
patch by Tibor Répási; reviewed by Ekaterina Dimitrova, Michael Semb Wever for CASSANDRA-18303, CASSANDRA-17344
2023-03-09 20:47:59 +01:00
Stefan Miklosovic 4841794028
Add MaxSSTableSize and MaxSSTableDuration metrics and propagate them together with local read/write ratio to tablestats
patch by Stefan Miklosovic; reviewed by Brandon Williams and Brad Schoening for CASSANDRA-18283
2023-03-08 16:29:19 +01:00
Mick Semb Wever 86604f5038
Prepare for JDK17 experimental support
Removes the use of CASSANDRA_USE_JDK11 and introduces the build.xml properties `java.default` and `java.supported`.

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18179
2023-02-12 20:43:46 +01:00
Ekaterina Dimitrova a0ec0ae303 Remove scripted UDFs, remove related tests or rewrite some tests to create java UDFs instead, where it makes sense
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-18252
2023-02-12 10:18:29 -05:00
Stefan Miklosovic 452ad8ce70
Make virtual tables decide if they implicitly enable ALLOW FILTERING
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-18238
2023-02-09 14:22:26 +01:00
Andrés de la Peña 93e0ae9af6 Add CQL functions for dynamic data masking
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-17941
2023-01-27 16:07:48 +00:00
Nikita Eshkeev f27790c969 Improve and clean up documentation and fix typos
This patch includes all the changes from the PRs that introduce small
changes related to typos and similar in the documentation. The changes are
accumulated from the following PRs:

- https://github.com/apache/cassandra/pull/206
- https://github.com/apache/cassandra/pull/359
- https://github.com/apache/cassandra/pull/366
- https://github.com/apache/cassandra/pull/390
- https://github.com/apache/cassandra/pull/450
- https://github.com/apache/cassandra/pull/567
- https://github.com/apache/cassandra/pull/615
- https://github.com/apache/cassandra/pull/618
- https://github.com/apache/cassandra/pull/746
- https://github.com/apache/cassandra/pull/984
- https://github.com/apache/cassandra/pull/1052
- https://github.com/apache/cassandra/pull/1088
- https://github.com/apache/cassandra/pull/1274
- https://github.com/apache/cassandra/pull/1378
- https://github.com/apache/cassandra/pull/1404
- https://github.com/apache/cassandra/pull/1504
- https://github.com/apache/cassandra/pull/1540
- https://github.com/apache/cassandra/pull/1544
- https://github.com/apache/cassandra/pull/1673
- https://github.com/apache/cassandra/pull/1697
- https://github.com/apache/cassandra/pull/1722
- https://github.com/apache/cassandra/pull/1815
- https://github.com/apache/cassandra/pull/1830
- https://github.com/apache/cassandra/pull/1863
- https://github.com/apache/cassandra/pull/1865
- https://github.com/apache/cassandra/pull/1879
- https://github.com/apache/cassandra/pull/2062

patch by Nikita Eshkeev, reviewed by Stefan Miklosovic, Lorina Poland, Michael Semb Wever for CASSANDRA-18185

Co-authored-by: kalmant <kalmant@users.noreply.github.com>
Co-authored-by: Dmitry <xotonic@yandex.ru>
Co-authored-by: Tibor Répási <rtib@users.noreply.github.com>
Co-authored-by: Tzach Livyatan <tzach@scylladb.com>
Co-authored-by: Jérôme BAROTIN <jeromebarotin@gmail.com>
Co-authored-by: Giorgio Giuffrè <giorgiogiuffre23@gmail.com>
Co-authored-by: Siddhartha Tiwari <201851127@iiitvadodara.ac.in>
Co-authored-by: Angelo Polo <language.devel@gmail.com>
Co-authored-by: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
Co-authored-by: 陳傑夫 <chienfuchen32@gmail.com>
Co-authored-by: Bhouse99 <bhouse99@protonmail.com>
Co-authored-by: Matthew Hardwick <MatthewRHardwick@gmail.com>
Co-authored-by: Paul Wouters <paul.wouters@aiven.io>
Co-authored-by: Romain Hardouin <romain_hardouin@yahoo.fr>
Co-authored-by: Guilherme Poleto <gpoleto@alunos.utfpr.edu.br>
Co-authored-by: 陳傑夫 <chienfuchen32@gmail.com>
Co-authored-by: etc-crontab <jujut@free.fr>
Co-authored-by: Prashant Bhuruk <prashantbhuruk88@gmail.com>
Co-authored-by: Jingchuan Zhu <56401528+codingswag998@users.noreply.github.com>
Co-authored-by: Ryan Stewart <ryan.stewart@rackspace.com>
Co-authored-by: utkarsh-agrawal-jm <107914361+utkarsh-agrawal-jm@users.noreply.github.com>
Co-authored-by: Ben Dalling <b.dalling@locp.co.uk>
Co-authored-by: Terry L. Blessing <tlblessing1@gmail.com>
Co-authored-by: gruzilkin <gruzmob@gmail.com>
Co-authored-by: Kevin <kevin.xgr@gmail.com>
Co-authored-by: yziadeh <121903189+yziadeh@users.noreply.github.com>
Co-authored-by: Lorina Poland <lorina@datastax.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-26 14:42:47 +01:00
Sharan Foga 0b47c57184 Add documentation for partition denylisting
patch by Sharan Foga; reviewed by Stefan Miklosovic and Josh McKenzie for CASSANDRA-17547
2023-01-17 08:56:07 +01:00
Andrés de la Peña b7c7972a51 Add CQL scalar functions for collection aggregation
patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-18060
2022-11-25 14:08:00 +00:00
XV4DE 88dc64d208 Add Mathematical Functions
Patch by Simon Chess; review by Benjamin Lerer Ekaterina Dimitrova for CASSANDRA-17221

This patch add the abs, exp, log, log10, and round functions for the numeric types.
2022-11-22 18:25:02 +01:00
Ekaterina Dimitrova fb09a5c1bb Merge branch 'cassandra-4.1' into trunk 2022-11-18 15:44:58 -05:00
Ekaterina Dimitrova bc16752bd7 Restore Virtual Tables page, and update nav for new pages
patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-17976

Co-authored-by: Mick Semb Wever <mck@apache.org>
2022-11-18 15:33:49 -05:00
Mick Semb Wever 51cc20a9f8
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Update What's New in 4.1 docs page
  WEBSITE - Updated What's New page for 4.1
2022-11-04 13:41:29 +01:00
Mick Semb Wever 162d504be0
Update What's New in 4.1 docs page
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976
2022-11-04 13:39:06 +01:00
Erick Ramirez e027229238 WEBSITE - Updated What's New page for 5.0 in trunk
patch by Michael Semb Wever, Erick Ramirez; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976

Co-authored by: Mick Semb Wever <mck@apache.org>
Co-authored by: Erick Ramirez <erickramirezau@apache.org>
2022-11-04 13:47:44 +11:00
Erick Ramirez a4b90fbc01 WEBSITE - Updated What's New page for 4.1
patch by Michael Semb Wever, Erick Ramirez; reviewed by Ekaterina Dimitrova, Berenguer Blasi, Erick Ramirez for CASSANDRA-17976

Co-authored by: Mick Semb Wever <mck@apache.org>
Co-authored by: Erick Ramirez <erickramirezau@apache.org>
2022-11-04 13:39:32 +11:00
Jérôme Barotin 83b6f04496 Fix formatting of metrics documentation
patch by Jérôme Barotin; reviewed by Stefan Miklosovic for CASSANDRA-17961
2022-10-20 12:02:41 +02:00
Natnael Adere 89e01ea2eb Add Unavailables metric for CASWrite in the docs
patch by Natnael Adere; reviewed by David Capwell for CASSANDRA-16357
2022-10-19 11:02:37 -07:00
Stefan Miklosovic c089818881 Make Cassandra logs able to be viewed in the virtual table system_views.system_logs
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17948
2022-10-18 14:13:51 +02:00
Ekaterina Dimitrova d80d934ed2 Merge branch 'cassandra-4.1' into trunk 2022-09-19 18:32:14 -04:00
Ekaterina Dimitrova 4c85c6a403 key_cache_save_period, row_cache_save_period, counter_cache_save_period are not deprecated and we should not emit deprecation warning on startup for them
Patch by Ekaterina Dimitrova; reviewed by Stefan Miklosovic for CASSANDRA-17904
2022-09-19 18:10:36 -04:00
Yifan Cai 4aa3bbda79 Merge branch 'cassandra-4.1' into trunk 2022-08-19 14:24:26 -07:00
Francisco Guerrero 83c169ec9e Fix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle
patch by Francisco Guerrero; reviewed by Ekaterina Dimitrova, Yifan Cai for CASSANDRA-17677
2022-08-19 14:19:53 -07:00
Ekaterina Dimitrova b70e14e2ac Merge branch 'cassandra-4.1' into trunk 2022-08-17 18:33:20 -04:00
Ekaterina Dimitrova 43036ecadd Update docs and NEWS.txt; config docs are reachable now on the website
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe for CASSANDRA-17778
2022-08-17 18:28:01 -04:00
Mick Semb Wever cbc127ab79
Merge branch 'cassandra-4.1' into trunk 2022-08-16 21:50:57 +02:00
Mick Semb Wever e02923305c
Merge branch 'cassandra-4.0' into cassandra-4.1 2022-08-16 21:48:01 +02:00
Mick Semb Wever 5fafa709fb
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-08-16 21:46:36 +02:00
Mick Semb Wever b492341eb5
Move deb/rpm repositories from dist/downloads .a.o to apache.jfrog.io
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17748
2022-08-16 21:45:23 +02:00
Andrés de la Peña c8c8635a4c Add ability to read the TTLs and write times of the elements of a collection and/or UDT
patch by Andrés de la Peña; reviewed by Yifan Cai and Benjamin Lerer for CASSANDRA-8877
2022-08-12 13:00:04 +01:00
Ekaterina Dimitrova 61d9ba6dff Merge branch 'cassandra-4.1' into trunk 2022-08-08 13:13:09 -04:00
Ekaterina Dimitrova a7d7708976 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-08-08 13:02:48 -04:00
Ekaterina Dimitrova e5e13c02cc Fix default value for compaction_throughput_mb_per_sec in Config class to match the one in cassandra.yaml
patch by Ekaterina Dimimtrova; reviewed by Francisco Guerrero, Michael Semb Wever for CASSANDRA-17790
2022-08-08 12:45:36 -04:00
Mick Semb Wever c2148980ce
Remove read_repair table option from docs, and restore read_repair_chance docs
patch by Milan Krisko; reviewed by Mick Semb Wever for CASSANDRA-17727
2022-07-16 12:57:38 +02:00
Mick Semb Wever 2355ef08a2
Merge branch 'cassandra-4.1' into trunk 2022-07-08 12:26:07 +02:00
Mick Semb Wever 31eb6852e1
Merge branch 'cassandra-4.0' into cassandra-4.1 2022-07-08 12:25:21 +02:00
Mick Semb Wever 5072bde5fb
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-07-08 12:24:22 +02:00
Andrew Hogg ef6bce5084
Removing superfluous bullet points in FAQ page
patch by Andrew Hogg; reviewed by Mick Semb Wever for CASSANDRA-17275
2022-07-08 11:43:49 +02:00
Bereng 481fdde885 Merge branch 'cassandra-4.1' into trunk 2022-07-08 09:20:06 +02:00
Bereng f77a7a29e8 Update the CQL version for the 4.1 release
Patch by Berenguer Blasi; reviewed by Benjamin Lerer for CASSANDRA-17570
2022-07-08 09:15:27 +02:00
Andrés de la Peña f8207fe287 Merge branch 'cassandra-4.1' into trunk 2022-06-27 15:16:03 +01:00
Andrés de la Peña 33730d9d06 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-27 15:15:21 +01:00
Andrés de la Peña 90e2502c6c Merge branch 'cassandra-3.11' into cassandra-4.0 2022-06-27 15:14:35 +01:00
Andrés de la Peña bc8a260471 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-06-27 15:13:45 +01:00