mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 05:26:58 +00:00
Add tests for preparing expr::cast which contains a bind variable, with a known receiver. expr::cast serves as a type hint for the bind variable. It specifies what should be the type of the bind variable, we must check that this type is compatible with the receiver and fail in case it isn't The following cases are tested: Valid: `text_col = (text)?` `int_col = (int)?` Invalid: `text_col = (int)?` `int_col = (text)?` Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com>
203 KiB
203 KiB