Version 4.8.2¶
Released on 2022-07-11.
Note
If you are upgrading a cluster, you must be running CrateDB 4.0.2 or higher before you upgrade to 4.8.2.
We recommend that you upgrade to the latest 4.7 release before moving to 4.8.2.
A rolling upgrade from 4.7.x to 4.8.2 is supported.
Before upgrading, you should back up your data.
Table of Contents
See the Version 4.8.0 release notes for a full list of changes in the 4.8 series.
Fixes¶
Fixed an issue that caused queries reading values of type
BITto fail if the query contains aWHEREclausepk_col = ?condition.Fixed an issue in the serialization logic of the
BITtype. This could cause issues with PostgreSQL clients using the text serialization mode.Fixed an issue that caused
col IS NULLto match empty arrays.Fixed an issue that caused
col IS NULLexpressions to match rows wherecolis notnullifcolhadINDEX OFFandSTORAGE WITH (columnstore = false)set.Fixed an issue that caused queries with
ORDER BYclause andLIMIT 0to fail.Fixed an issue that prevented rows inserted after the last refresh from showing up in the result if a shard had been idle for more than 30 seconds. This affected tables without an explicit
refresh_intervalsetting.Fixed an issue that caused NPE to be thrown, instead of a user-friendly error message when
NULLis passed as shardId for theALTER TABLE XXX REROUTE XXXstatements (MOVE, ALLOCATE, PROMOTE, CANCEL).Fixed an issue that caused queries operating on expressions with no defined type to fail. Examples are queries with
GROUP BYon an ignored object column orUNIONonNULLliterals.Fixed an issue that caused
GROUP BYandORDER BYstatements withNULLordinal casted to a specific type, throw an error. Example:SELECT NULL, count(*) from unnest([1, 2]) GROUP BY NULL::integer.Fixed an issue that not-null constraints used to be shown in the
pg_constrainttable which contradicts with PostgreSQL.Fixed an issue that caused
IllegalArgumentExceptionto be thrown when attempting to insert values into a partitioned table, using less columns than the ones defined in the table’sPARTITIONED BYclause.Fixed an issue that caused failure of
ALTER TABLEstatements when updating dynamic or non-dynamic table settings on closed tables.Fixed an issue that caused clients using PostrgreSQL wire protocol’s simple query to hang, when an error occurred during planning.
Fixed casts of
TEXTtoREGCLASSdata types which were resulting in wrongREGCLASSvalues as thecurrent_schemawas not taken into account.Fixed an issue which caused
PRIMARY KEYcolumns to be shown as nullable in thepg_catalog.pg_attributetable.Fixed possible infinitive loops on
COPY FROMstatements if an IO error happen while trying to read lines from an URI.Fixed an issue that caused ARRAY_LENGTH in combination with a
greater than `` (>``) comparison to exclude rows if an array contained duplicates or nulls.