Type mismatch in selection isn't an error
picodata> select * from t;
---
- metadata:
- {'name': 'ID', 'type': 'integer'}
rows:
- [2]
- [5]
- [1]
- [3]
- [4]
...
picodata> select * from t where id < 'kek'
---
- metadata:
- {'name': 'ID', 'type': 'integer'}
rows:
- [2]
- [5]
- [1]
- [3]
- [4]
...
picodata> select * from t where id > 'kek'
2024-08-23 17:46:35.015 [86034] main/138/vshard.storage._call runtime.rs:75 E> LuaError(ExecutionError("Type mismatch: can not convert string('kek') to integer")): read_prepared
2024-08-23 17:46:35.015 [86034] main/138/vshard.storage._call runtime.rs:75 E> LuaError(ExecutionError("Type mismatch: can not convert string('kek') to integer")): read_prepared
2024-08-23 17:46:35.015 [86034] main/103/interactive vshard.rs:137 E> LuaError(ExecutionError("sbroad: LuaError(ExecutionError(\"Type mismatch: can not convert string('kek') to integer\"))")): dql_on_all
---
- null
- 'sbroad: Lua error (dispatch IR): LuaError(ExecutionError("sbroad: LuaError(ExecutionError(\"Type
mismatch: can not convert string(''kek'') to integer\"))"))'
...