-
Notifications
You must be signed in to change notification settings - Fork 8.3k
LOGICAL_ERROR (due to wrong types detected) in plus() function #83963
Copy link
Copy link
Closed as duplicate of#71415
Closed as duplicate of#71415
Copy link
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasefuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
CREATE TABLE `02763_alias` (`x` UInt8, `y` UInt64, `z` UInt64 ALIAS x + y) ENGINE = MergeTree ORDER BY x;
CREATE TABLE `02763_alias__fuzz_25` (`x` DateTime64(3), `y` IPv4, `z` Float32 ALIAS x + y) ENGINE = MergeTree ORDER BY x;
insert into 02763_alias select * from generateRandom() limit 1;
insert into 02763_alias__fuzz_25 select * from generateRandom() limit 1;
CREATE TABLE `02763_a_merge` (`x` UInt8, `y` UInt64, `z` UInt64) ENGINE = Merge(currentDatabase(), '02763_alias');
select * from 02763_a_merge;
Code: 49. DB::Exception: Arguments of 'plus' have incorrect data types: 'x' of type 'DateTime64(3)', 'y' of type 'UInt32': Child table: default.`02763_alias__fuzz_25` (72136cfb-b899-4d10-b6d0-3fcb8479b5c0). (LOGICAL_ERROR)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugConfirmed user-visible misbehaviour in official releaseConfirmed user-visible misbehaviour in official releasefuzzProblem found by one of the fuzzersProblem found by one of the fuzzers