Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe7c36c

Browse files
mfusseneggermergify[bot]
authored andcommitted
Release 4.6.0
1 parent 7a4890e commit fe7c36c

4 files changed

Lines changed: 148 additions & 99 deletions

File tree

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
.. _version_4.6.0:
2+
3+
=============
4+
Version 4.6.0
5+
=============
6+
7+
Released on 2021-07-13.
8+
9+
.. NOTE::
10+
11+
If you are upgrading a cluster, you must be running CrateDB 4.0.2 or higher
12+
before you upgrade to 4.6.0.
13+
14+
We recommend that you upgrade to the latest 4.3 release before moving to
15+
4.6.0.
16+
17+
A rolling upgrade from 4.5.x to 4.6.0 is supported.
18+
19+
Before upgrading, you should `back up your data`_.
20+
21+
.. _back up your data: https://crate.io/docs/crate/reference/en/latest/admin/snapshots.html
22+
23+
24+
25+
.. rubric:: Table of Contents
26+
27+
.. contents::
28+
:local:
29+
30+
31+
Deprecations
32+
============
33+
34+
- Deprecated the :ref:`node.max_local_storage_nodes
35+
<node.max_local_storage_nodes>` setting.
36+
37+
38+
Changes
39+
=======
40+
41+
42+
Performance Improvements
43+
------------------------
44+
45+
- Improved the performance of the :ref`hyperloglog_distinct
46+
<aggregation-hyperloglog-distinct>` aggregation function.
47+
48+
- Improved the performance of ``SELECT`` statements with ``WHERE`` conditions
49+
that are in the form of ``WHERE COL=COL``.
50+
51+
- Improved the performance of ``INSERT FROM query`` statements where the
52+
``query`` contains a ``GROUP BY`` clause.
53+
54+
- Improved the internal throttling mechanism used for ``INSERT FROM QUERY`` and
55+
``COPY FROM`` operations. This should lead to these queries utilizing more
56+
resources if the cluster can spare them.
57+
58+
- Added an optimization that improves the performance of ``count()``
59+
aggregations on object columns that have at least one inner column with a
60+
``NOT NULL`` constraint.
61+
62+
63+
SQL Statements and Compatibility
64+
--------------------------------
65+
66+
- Added the :ref:`bit(n) <data-type-bit>` data type.
67+
68+
- CrateDB now accepts the ``START TRANSACTION`` statement for :ref:`PostgreSQL
69+
wire protocol <postgres_wire_protocol>` compatibility. However, CrateDB does
70+
not support transactions and will silently ignore this statement.
71+
72+
- Added support for directory-level wild card expansion for URIs passed to
73+
``COPY FROM`` statements.
74+
75+
76+
New Scalars
77+
-----------
78+
79+
- Added :ref:`array_to_string <scalar-array-to-string>` scalar function
80+
that concatenates array elements into a single string using a separator and
81+
an optional null-string.
82+
83+
- Added :ref:`array_min <scalar-array-min>` and :ref:`array_max
84+
<scalar-array-max>` scalar functions returning the minimal and maximal
85+
element in array respectively.
86+
87+
- Added the :ref:`array_sum <scalar-array-sum>` scalar function
88+
that returns the sum of all elements in an array.
89+
90+
- Added the :ref:`array_avg <scalar-array-avg>` scalar function that returns
91+
the average of all elements in an array.
92+
93+
94+
Administration and Operations improvements
95+
------------------------------------------
96+
97+
- Users can now read tables within the ``pg_catalog`` schema without explicit
98+
``DQL`` permission. They will only see records the user has privileges on.
99+
100+
- Users with AL privileges (or DDL on both tables) can now run the following
101+
ALTER CLUSTER commands:
102+
``ALTER CLUSTER SWAP TABLE source TO target``,
103+
``ALTER CLUSTER REROUTE RETRY FAILED``,
104+
``ALTER CLUSTER GC DANGLING ARTIFACTS``.
105+
106+
- Added support for encrypting node-to-node communication.
107+
108+
- Changed the privileges model to allow users with ``DDL`` privileges on a
109+
table to use the :ref:`OPTIMIZE TABLE <sql-optimize>` statement.
110+
111+
- Included the shard information for closed tables in ``sys.shards`` table.
112+
113+
- Added a ``closed`` column to :ref:`sys-shards <sys-shards>` exposing
114+
the state of the table associated with the shard.
115+
116+
- Added support for reading ``cgroup`` information in the ``cgroup v2`` format.
117+
118+
- Added support of hostnames in HBA configuration.
119+
120+
121+
Administration Console
122+
----------------------
123+
124+
- Removed all analytics (UDC, Segment)
125+
126+
- Removed the "Notifications" section in the statusbar
127+
128+
- Removed min-width for columns in console to reduce scrolling
129+
130+
- Changed syntax highlighting in console. Keywords in double quotes are now longer
131+
highlighted. Types are highlighted with a different color.
132+
133+
- Activated codemirror code hints for keywords.
134+
135+
- Changed the look of the Scrollbar to appear more modern.
136+
137+
- Added length limit for ``varchar(n)`` and ``bit(n)`` types in table view.

docs/appendices/release-notes/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ Versions
2525
4.x
2626
---
2727

28+
4.6.x
29+
.....
30+
31+
.. toctree::
32+
:maxdepth: 1
33+
34+
4.6.0
35+
2836
4.5.x
2937
.....
3038

docs/appendices/release-notes/unreleased.rst

Lines changed: 2 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -48,110 +48,14 @@ None
4848
Deprecations
4949
============
5050

51-
- Deprecated the :ref:`node.max_local_storage_nodes
52-
<node.max_local_storage_nodes>` setting.
51+
None
5352

5453

5554
Changes
5655
=======
5756

5857

59-
Performance Improvements
60-
------------------------
61-
62-
- Improved the performance of the :ref`hyperloglog_distinct
63-
<aggregation-hyperloglog-distinct>` aggregation function.
64-
65-
- Improved the performance of ``SELECT`` statements with ``WHERE`` conditions
66-
that are in the form of ``WHERE COL=COL``.
67-
68-
- Improved the performance of ``INSERT FROM query`` statements where the
69-
``query`` contains a ``GROUP BY`` clause.
70-
71-
- Improved the internal throttling mechanism used for ``INSERT FROM QUERY`` and
72-
``COPY FROM`` operations. This should lead to these queries utilizing more
73-
resources if the cluster can spare them.
74-
75-
- Added an optimization that improves the performance of `count()` aggregations
76-
on object columns that have at least one inner column with a `NOT NULL`
77-
constraint.
78-
79-
80-
SQL Statements and Compatibility
81-
--------------------------------
82-
83-
- Added the :ref:`bit(n) <data-type-bit>` data type.
84-
85-
- CrateDB now accepts the ``START TRANSACTION`` statement for :ref:`PostgreSQL
86-
wire protocol <postgres_wire_protocol>` compatibility. However, CrateDB does
87-
not support transactions and will silently ignore this statement.
88-
89-
- Added support for directory-level wild card expansion for URIs passed to
90-
``COPY FROM`` statements.
91-
92-
93-
New Scalars
94-
-----------
95-
96-
- Added :ref:`array_to_string <scalar-array-to-string>` scalar function
97-
that concatenates array elements into a single string using a separator and
98-
an optional null-string.
99-
100-
- Added :ref:`array_min <scalar-array-min>` and :ref:`array_max
101-
<scalar-array-max>` scalar functions returning the minimal and maximal
102-
element in array respectively.
103-
104-
- Added the :ref:`array_sum <scalar-array-sum>` scalar function
105-
that returns the sum of all elements in an array.
106-
107-
- Added the :ref:`array_avg <scalar-array-avg>` scalar function that returns
108-
the average of all elements in an array.
109-
110-
111-
Administration and Operations improvements
112-
------------------------------------------
113-
114-
- Users can now read tables within the ``pg_catalog`` schema without explicit
115-
``DQL`` permission. They will only see records the user has privileges on.
116-
117-
- Users with AL privileges (or DDL on both tables) can now run the following
118-
ALTER CLUSTER commands:
119-
``ALTER CLUSTER SWAP TABLE source TO target``,
120-
``ALTER CLUSTER REROUTE RETRY FAILED``,
121-
``ALTER CLUSTER GC DANGLING ARTIFACTS``.
122-
123-
- Added support for encrypting node-to-node communication.
124-
125-
- Changed the privileges model to allow users with ``DDL`` privileges on a
126-
table to use the :ref:`OPTIMIZE TABLE <sql-optimize>` statement.
127-
128-
- Included the shard information for closed tables in ``sys.shards`` table.
129-
130-
- Added a ``closed`` column to :ref:`sys-shards <sys-shards>` exposing
131-
the state of the table associated with the shard.
132-
133-
- Added support for reading ``cgroup`` information in the ``cgroup v2`` format.
134-
135-
- Added support of hostnames in HBA configuration.
136-
137-
138-
Administration Console
139-
----------------------
140-
141-
- Removed all analytics (UDC, Segment)
142-
143-
- Removed the "Notifications" section in the statusbar
144-
145-
- Removed min-width for columns in console to reduce scrolling
146-
147-
- Changed syntax highlighting in console. Keywords in double quotes are now longer
148-
highlighted. Types are highlighted with a different color.
149-
150-
- Activated codemirror code hints for keywords.
151-
152-
- Changed the look of the Scrollbar to appear more modern.
153-
154-
- Added length limit for ``varchar(n)`` and ``bit(n)`` types in table view.
58+
None
15559

15660

15761
Fixes

server/src/main/java/org/elasticsearch/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public class Version implements Comparable<Version>, ToXContentFragment {
117117
public static final Version V_4_5_3 = new Version(7_05_03_99, false, org.apache.lucene.util.Version.LUCENE_8_7_0);
118118
public static final Version V_4_5_4 = new Version(7_05_04_99, false, org.apache.lucene.util.Version.LUCENE_8_7_0);
119119

120-
public static final Version V_4_6_0 = new Version(7_06_00_99, true, org.apache.lucene.util.Version.LUCENE_8_8_2);
120+
public static final Version V_4_6_0 = new Version(7_06_00_99, false, org.apache.lucene.util.Version.LUCENE_8_8_2);
121121

122122
public static final Version CURRENT = V_4_6_0;
123123

0 commit comments

Comments
 (0)