Version 4.5.1¶
Released on 2021-05-03.
Note
If upgrading a cluster, you must be running CrateDB 4.0.2 or higher before you upgrade to 4.5.1.
We recommend that you upgrade to the latest 4.4 release before moving to 4.5.1.
A rolling upgrade from 4.4.0+ to 4.5.1 is supported.
Before upgrading, you should back up your data.
Table of Contents
See the Version 4.5.0 release notes for a full list of changes in the 4.5 series.
Fixes¶
Fixed an issue that could cause queries on virtual tables to return an incorrect result if a table function is used in the select-list of a sub-query, but not used in the outputs of the parent relation. An example:
SELECT name FROM (SELECT name, unnest(tags) FROM metrics) m;
Updated the bundled JDK to 16.0.1+9
Fixed an issue that would cause columns of type
varcharwith a length limited to be incorrectly casted to another type if used as argument in a function that has several type overloads.Fixed an issue that caused
ALTER TABLE ADD COLUMNstatements to remove constraints like analyzers orNOT NULLfrom existing columns in the same table.Allow executing
CREATE TABLE .. ASas a regular user withDDLpermission on the target schema, andDQLpermission on the source relations.Changed the
RowDescriptionmessage that is sent to PostgreSQL clients to avoid that the JDBC client triggers queries againstpg_catalogschema tables each time information from theMetaDataof aResultSetis accessed.Fixed
crate-nodeauxiliary program to use the bundled Java runtime on Linux.