Remove 'error' from comment from 01710_join_use_nulls

This commit is contained in:
vdimir 2021-02-19 14:08:23 +03:00
parent ab0719caf0
commit dc9e660522
No known key found for this signature in database
GPG Key ID: F57B3E10A21DBB31

View File

@ -7,7 +7,8 @@ CREATE TABLE Y (id Int) ENGINE=Memory;
SELECT Y.id - 1 FROM X RIGHT JOIN Y ON (X.id + 1) = Y.id SETTINGS join_use_nulls=1;
SELECT Y.id - 1 FROM X RIGHT JOIN Y ON (X.id + 1) = toInt64(Y.id) SETTINGS join_use_nulls=1;
-- Logical error: 'Arguments of 'plus' have incorrect data types: '2' of type 'UInt8', '1' of type 'UInt8''.
-- Fix issue #20366
-- Arguments of 'plus' have incorrect data types: '2' of type 'UInt8', '1' of type 'UInt8'.
-- Because 1 became toNullable(1), i.e.:
-- 2 UInt8 Const(size = 1, UInt8(size = 1))
-- 1 UInt8 Const(size = 1, Nullable(size = 1, UInt8(size = 1), UInt8(size = 1)))