jussisaurio
d5ade427c2
add test for seekrowid order independence
2024-08-01 17:58:38 +03:00
jussisaurio
551b11303f
Broaden the type of expr that qualifies as seekrowid candidate
2024-08-01 17:23:59 +03:00
sonhmai
789ae4becf
feat: add time() scalar function partial support without modifier #158
2024-08-01 13:06:07 +07:00
Pekka Enberg
0c703a228d
testing: Make individual test files executable
...
Each test file is standalone to make it easy to run just some specific
tests. However, some of the files didn't have the executable bit.
2024-07-29 09:41:40 +03:00
macroexpansion
918b99b7a3
feat: add RTRIM(X) and RTRIM(X,Y) scalar function
2024-07-28 21:17:53 +07:00
Pekka Enberg
ccf76aac54
Merge pull request #237 from penberg/optimize-constant-conditions
2024-07-27 22:56:56 +03:00
Pekka Enberg
0256de7bad
Merge pull request #238 from macroexpansion/feature/add-ltrim-scalar-function
2024-07-27 15:57:48 +03:00
macroexpansion
750f18be35
feat: add ltrim scalar function
2024-07-27 19:46:27 +07:00
jussisaurio
700d9ee976
Optimize constant conditions
2024-07-27 15:08:30 +03:00
jussisaurio
016379fea4
core/translate: #154 : implement WHERE IN (...)
2024-07-26 18:13:05 +03:00
jussisaurio
e3cc3da7ca
Implement #216 : order by column number
2024-07-26 14:35:33 +03:00
Pekka Enberg
5251f7a2f8
testing: Fix do_execsql_test() for JSON
...
The current scheme of combining SQL statements corrupts JSON by dropping
the curly braces. Fix the issue by passing the SQL statement almost as-is
to the database. However, for ".schema" to work, we need to trim extra
whitespace.
2024-07-26 09:48:48 +03:00
Ethan Niser
aa6531f802
add unicode scalar function
2024-07-25 10:05:41 -07:00
jussisaurio
1117aeef74
ORDER BY: support nullable sorting columns and qualified identifiers
2024-07-24 15:27:55 +03:00
jussisaurio
c1f4f5879c
Dont use ORDER BY in .schema
2024-07-24 12:41:48 +03:00
jussisaurio
024633a709
Fix #212 : unsupported expression InList
2024-07-24 12:15:34 +03:00
Pekka Enberg
0cb993e152
Merge pull request #204 from jussisaurio/multi-way-join
...
Refactor join processing / support multiway joins
2024-07-24 11:06:32 +03:00
jussisaurio
cc79ff5cfd
Fix #205 : agg functions on text columns
2024-07-23 23:18:01 +03:00
gandeevanr
b6030a45d2
added compat tests for timezones
2024-07-23 09:19:17 -07:00
gandeevanr
7bb3412e66
added compatibility tests for date
2024-07-23 09:19:17 -07:00
jussisaurio
84cf4033d5
Refactor join processing
...
- Make all constraints a list of WhereTerms in a ProcessedWhereClause
- Support multiple joins instead of just one
2024-07-23 15:04:40 +03:00
Brayan Jules
c227001737
support handling functions with the same name but different parameters number
2024-07-22 17:02:36 -04:00
Brayan Jules
dde00c3bc5
implementation of scalar functions min and max
2024-07-22 17:02:36 -04:00
Pekka Enberg
e33d69189c
Merge pull request #200 from benclmnt/case-insensitive-cols
2024-07-22 17:49:41 +03:00
Bennett Clement
0bf0b41692
Use case insensitive lookup for table and column
2024-07-22 16:27:36 +08:00
Bennett Clement
5b4bdc8aa3
Fix .schema
...
- Add tests for .schema
- Make command line sql arguments to allow .commands
2024-07-22 16:00:41 +08:00
Bennett Clement
4590c3cc7c
Support select <columns> for order by operation
2024-07-22 00:28:27 +08:00
Bennett Clement
2e0d4c6fdb
Implement basic ORDER BY
...
- Only SELECT * is supported
- Only ASC is supported
2024-07-22 00:28:00 +08:00
JeanArhancet
50c12d24c8
feat: add length scalar function
2024-07-21 16:30:40 +02:00
JeanArhancet
569322446a
feat: add round scalar function
2024-07-21 10:29:30 +02:00
JeanArhancet
fd5dd4f3e7
feat: add trim scalar function
2024-07-20 11:46:37 +02:00
Brayan Jules
73c8fc23ba
implementation of scalar functions upper and lower
2024-07-19 00:38:12 -04:00
jussisaurio
70953a4fd0
Left join initial nested loop implementation
2024-07-18 10:55:27 +03:00
Brayan Jules
b7c08b8fd5
feat: abs func initial implementation
2024-07-17 22:55:41 -04:00
Pekka Enberg
ad70a240d4
Merge pull request #147 from benclmnt/feat/where-and
2024-07-16 21:35:01 +03:00
Bennett Clement
3c4f2b07e6
Respect jump_if_true in like implementation
2024-07-16 18:17:37 +08:00
Bennett Clement
6f983702c3
Refactor if/ifnot implementation
2024-07-16 16:36:30 +08:00
Bennett Clement
05558527af
Implement like in where clause
2024-07-16 15:55:33 +08:00
Bennett Clement
2f738e0c8b
Implement like function
2024-07-16 15:23:52 +08:00
Bennett Clement
b6c0bf57dc
Fix conflicts
2024-07-16 13:16:24 +08:00
Pekka Enberg
190e5844e7
testing: select.test
2024-07-16 07:26:44 +03:00
Pekka Enberg
fbe71cc1d7
testing: pragma.test
2024-07-16 07:24:28 +03:00
Pekka Enberg
ce1efa35eb
testing: agg-functions.test
2024-07-16 07:24:28 +03:00
Pekka Enberg
75e72a4926
testing: where.test
2024-07-16 07:24:28 +03:00
Pekka Enberg
9fc48315cc
testing: coalesce.test
2024-07-16 07:20:35 +03:00
Pekka Enberg
04b96a3d6c
testing: join.test
2024-07-16 07:20:34 +03:00
Bennett Clement
4d077cf3e5
Implement std::cmp::PartialOrd for OwnedValue
2024-07-16 08:32:14 +08:00
Bennett Clement
fdf77cee2b
Merge branch 'main' of github.com:benclmnt/limbo into feat/where-and
2024-07-16 08:10:24 +08:00
Pere Diaz Bou
0a7d0588d7
core: implement AND and OR + complex conditions.
...
this also fixes NULL print to empty string
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com >
2024-07-15 19:42:12 +02:00
Bennett Clement
f955187b70
Implement where and
2024-07-15 23:36:35 +08:00