Konstantin Orlov created IGNITE-22779:
-----------------------------------------
Summary: Sql. Exception on insert with dyn params when type
doesn't match
Key: IGNITE-22779
URL: https://issues.apache.org/jira/browse/IGNITE-22779
Project: Ignite
Issue Type: Bug
Components: sql
Reporter: Konstantin Orlov
An insert statement with dynamic params fails with weird {{Values passed to
VALUES operator must have compatible types}} when parameter doesn't exactly
match type of the column in table. Similar query but with literal work as a
charm, as well as insert from source table, thus I would expect the case with
dyn params work as well.
There is a test disabled with this ticket
(org.apache.ignite.internal.sql.engine.ItCastToTsWithLocalTimeZoneTest#implicitCastOfDynParamsOnInsert).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)