Version 1.0.2¶
Released on 2017/01/09.
Note
If you are upgrading a cluster, you must be running CrateDB 0.57.0 or higher before you upgrade to 1.0.2.
If you want to perform a rolling upgrade, your current CrateDB version number must be Version 1.0.0 or higher. If you want to upgrade from a version prior to this, the upgrade will introduce all of the breaking changes listed for Version 1.0.0, and will require a full restart upgrade.
Warning
Before upgrading, you should back up your data.
Table of contents
Changelog¶
Changes¶
Do not display current statement in
sys.jobsthat disabled stats.It is not possible any more to circumvent
NOT NULLcolumn constraint by omitting the column in theINSERTstatement.Updated crate-admin to 1.0.3 which includes the following change:
Added compatibility with future CrateDB versions which will serve the Admin UI from
/admin/instead of/_plugins/crate-admin/.
Fixes¶
Fixed a NPE when using a
percentileaggregation in a multi-node environment.Fixed
INDEXconstraint validation. Defining it on complex data types like e.g.objectwas silently ignored instead of throwing an error.Fixed an issue that causes
UnsupportedFeatureExceptionfor operations on a table where array access is used inside generated columns. e.g.:CREATE TABLE t1 (cola string, gencola AS (a[1]))
Error thrown when:
SELECT * from t1,DROP TABLE t1, etc.Fixed an issue that causes hanging queries if a data node disconnects from the cluster.
CrateDB now throws a correct error if a user tries to create a table starting with
_.Fixed an issue that causes
UnhandledServerExceptionon joins whenWHEREclause contains conditions on columns of array type of both tables which are separated with theORoperator. e.g.:SELECT * FROM t1 join t2 ON t1.id = t2.id WHERE 'foo' = ANY(a.strArray) OR 'bar' = ANY(b.strArray)
Scalar functions
longitudeandlatitudeno longer show misleading results.Fixed an issue that causes
ClassCastExceptionon outer joins whenWHEREclause contains a condition that prevents null values on the relation that may produce nulls. e.g.:SELECT * FROM t1 LEFT JOIN t2 ON t1.id = t2.id WHERE t2.txt = 'foo'
Fixed NPE that occurred when an
UPDATEstatement insertedNULLvalue into a column that did not exist before.Fixed an issue that causes an error to be thrown if nested method calls are used in
HAVINGclause. e.g.:having sum(power(power(id, id), id)) > 1