Description
Need to cover cases where literal or numeric value, used in predicate is wider than column\expression type. E.g:
create table tiny(v TINYINT); insert into tiny values(127); SELECT * FROM tiny WHERE v < 300; SELECT * FROM tiny WHERE v NOT IN (300, 1000);
Also seems sql with mixed exact numeric and approx literal predicates need to fail.
create table tiny(v TINYINT); insert into tiny values(127); SELECT * FROM tiny WHERE v < '3.1'; <-- need to fail
Attachments
Issue Links
- is related to
-
IGNITE-19997 Sql. Enhancing test coverage of type coercion
- Open
- links to