support for functions in where clause

This commit is contained in:
2021-08-13 15:54:14 +02:00
parent e53d062ff5
commit ee0cbf64ff
3 changed files with 37 additions and 16 deletions

View File

@@ -139,7 +139,8 @@ int main(int argc, char *argv[]) {
// "select ticker, dimension, calendar_date, eps, dps from sf1 where (ticker = 'AIG' or ticker = 'WFC') and dimension = 'MRY' order by 3 desc",
"create table a (i integer not null, s varchar(64), f float null, d date null, b boolean)",
"insert into a (i, s, b) values(1, upper('one'), 'Y')",
"select i+2, s, b from a where i >=1 order by 1 desc offset 0 limit 1",
"select i, s from a where i < to_date('20.12.1973', '%d.%m.%Y')",
// xxxxxxxx "select i+2, s, b from a where i >=1 order by 1 desc offset 0 limit 1",
// "update table a set s = 'null string aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'",
"update table a set i = null",
"insert into a (i, s) values(2, 'two')",