Skip to content

Bad cast from type DB::ColumnConst to DB::ColumnVector<char8_t> #11360

@akuzm

Description

@akuzm
ATTACH TABLE constrained
(
    `URL` String, 
    CONSTRAINT is_yandex CHECK domainWithoutWWW(URL) = domainWithoutWWW(URL), 
    CONSTRAINT is_utf8 CHECK isValidUTF8(URL)
)
ENGINE = TinyLog;

insert into constrained values ('a');

Code: 368. DB::Exception: Received from localhost:9000. DB::Exception: Bad cast from type DB::ColumnConst to DB::ColumnVector<char8_t>. Stack trace

Metadata

Metadata

Labels

bugConfirmed user-visible misbehaviour in official releasefuzzProblem found by one of the fuzzers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions