Version 5.2.2¶
Released on 2023-02-09.
Note
If you are upgrading a cluster, you must be running CrateDB 4.0.2 or higher before you upgrade to 5.2.2.
We recommend that you upgrade to the latest 5.1 release before moving to 5.2.2.
A rolling upgrade from 5.1.x to 5.2.2 is supported. Before upgrading, you should back up your data.
Warning
Tables that were created before CrateDB 4.x will not function with 5.x and must be recreated before moving to 5.x.x.
You can recreate tables using COPY TO and COPY FROM or by
inserting the data into a new table.
Table of Contents
See the Version 5.2.0 release notes for a full list of changes in the 5.2 series.
Fixes¶
Fixed
crate-nodecli tool to work without asking forpath.homeand/orpath.confparameters when run from inside theCrateDBdistribution directory, for Linux, MacOSX and Windows environments.Removed the automatic fix mechanism, introduced in 5.2.1, for corrupted metadata due to table swap statements like:
ALTER CLUSTER SWAP TABLE "myschema"."mytable" TO "myschema.mytable";
and provide a manual way to fix such issues by running:
bin/crate-node fix-metadata
Changed the
typsendandtypreceivevalues in thepg_catalog.pg_typetable to match PostgreSQL for improved compatibility. Clients likePostgrexdepend on this.Fixed a race condition that could lead to an error reporting that a partition was not found when running
DELETE FROM <table> WHERE partition_column = ?statements.Fixed runtime
ClassCastExceptionwhen attempting to ORDER BY an INTERVAL type, or when attempting to use MIN or MAX aggregations on an INTERVAL type, and return an error message about unsupported type during analysis of a query.Disallowed comparison operators between INTERVAL types, except for
=and<>, Previously,nullwas returned in any of the>,>=,<,<=, comparisons.