Pekka Enberg
41d829275c
Update COMPAT
2024-11-20 18:31:40 +02:00
Pekka Enberg
5e1184d559
Update COMPAT.md
2024-11-15 13:49:15 +02:00
Lauri Virtanen
0ae1412193
Add instr(X,Y) scalar function
...
Relates to issue #144
2024-10-06 20:19:37 +03:00
Lauri Virtanen
9e80a0c4a8
Add randomblob(N) scalar function
...
Relates to issue #144
2024-10-03 00:05:23 +03:00
Pekka Enberg
6fcd818160
Merge 'Add unhex(X) scalar function' from Lauri Virtanen
...
This commit adds `unhex(X)` scalar function. Function with `unhex(X,Y)`
two arguments is not implemented yet.
Relates to issue #144
Closes #353
2024-10-02 11:01:15 +03:00
Lauri Virtanen
adc6f9b6cd
Add unhex(X) scalar function
...
This commit adds `unhex(X)` scalar function. Function with `unhex(X,Y)`
two arguments is not implemented yet.
Relates to issue #144
2024-09-30 00:13:43 +03:00
Lauri Virtanen
f612ead8a3
Add zeroblob(N) scalar function
...
Relates to issue #144
2024-09-29 23:39:53 +03:00
Lauri Virtanen
0597c048fc
Better support for BLOBs
...
- Limbo command line shell supports e.g. `SELECT x'616263';`
- `EXPLAIN SELECT x'616263';` lists the opcode
Missing:
- Command line shell not entirely compatible with SQLite when blobs have
non-printable characters in the middle (e.g. `SELECT x'610062';`)
- Python bindings not supported (incoming soon)
2024-09-22 17:55:00 +03:00
baishen
5c00c576a5
Add support for hex scalar function
2024-09-22 08:50:08 -04:00
Lauri Virtanen
67573e12e5
Add typeof(X) scalar function
2024-09-21 15:56:29 +03:00
김선우
e9ba458514
Add support for sqlite_version
2024-09-18 17:57:51 +09:00
rjhallsted
b87b874ed0
WIP commit on glob support
2024-09-16 15:51:32 -07:00
Pekka Enberg
9bbfdab5fa
Revert "Merge 'Add support for sqlite_version() scalar function' from Kim Seon Woo"
...
This reverts commit e365c12ce0 , reversing
changes made to 21bd1a961e . The pull request broke some tests:
```
thread 'main' panicked at core/vdbe/mod.rs:1713:72:
index out of bounds: the len is 3 but the index is 3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
while executing
"exec {*}$command"
(procedure "evaluate_sql" line 3)
invoked from within
"evaluate_sql $sqlite_exec $sql"
(procedure "run_test" line 2)
invoked from within
"run_test $::sqlite_exec $combined_sql $combined_expected_output"
(procedure "do_execsql_test" line 5)
invoked from within
"do_execsql_test sqlite_version {
SELECT sqlite_version();
} {3.46.1}"
(file "./testing/scalar-functions.test" line 434)
invoked from within
"source $testdir/scalar-functions.test"
(file "./testing/all.test" line 16)
make: *** [Makefile:59: test-compat] Error 1
```
2024-09-16 14:28:18 +03:00
김선우
6b40acabbc
Add support for sqlite_version() scalar function
2024-09-16 18:38:42 +09:00
JeanArhancet
d03a734f21
feat: add sign function
2024-09-15 14:57:01 +02:00
김선우
fc07ca9d73
Add support for concat_ws
2024-09-14 23:47:45 +09:00
jussisaurio
a108dea825
GROUP BY
2024-09-14 16:14:45 +03:00
sonhmai
9cc965186f
core: support modifiers in date function
2024-09-03 14:28:07 +07:00
Rajiv Harlalka
b30974d2d2
update COMPAT.md
...
Signed-off-by: Rajiv Harlalka <rajivharlalka009@gmail.com >
2024-08-30 20:35:12 +05:30
sonhmai
c32bb91dd5
core: support modifiers in time function
2024-08-24 18:31:34 +07:00
Kim Seon Woo
8bb2a48cb6
Add support for nullif scalar function
2024-08-20 18:36:06 +02:00
JeanArhancet
b6c720c90a
feat: add quote function
2024-08-17 09:28:14 +02:00
Kim Seon Woo
48d3c05fb0
Rebase
2024-08-16 21:40:30 +09:00
Pekka Enberg
c9c0d2808c
Merge 'Add support for ifnull scalar function' from Kim Seon Woo
...
Add support for `ifnull` scalar function
### EXPLAIN SELECT ifnull(null, 20);

### Related issue
https://github.com/penberg/limbo/issues/144
Closes #290
2024-08-16 14:37:08 +03:00
Pekka Enberg
ba3acedbc8
Merge 'Add support for substr scalar function' from Kim Seon Woo
...
Add support for `substr` scalar function. We can reuse the `substring` logic which is already implemted.
## Related issue
https://github.com/penberg/limbo/issues/144
Closes #289
2024-08-16 14:36:55 +03:00
김선우
8fbcd10e0e
Add support for ifnull scalar function
2024-08-16 09:25:04 +09:00
김선우
27d9af2bf4
Add support for substr scalar function
2024-08-16 08:26:42 +09:00
김선우
77c3d130f3
Add char function support
2024-08-16 06:26:06 +09:00
김선우
dc48c2e71d
Add substring scala function with 2 arg
2024-08-15 18:47:32 +09:00
김선우
3fa3c5c002
Add substr scala function
2024-08-15 18:27:18 +09:00
Pekka Enberg
7b06150df6
Update CHANGELOG.md and COMPAT.md
2024-08-06 08:06:43 +03:00
Pekka Enberg
fedb558346
Update COMPAT.md
2024-08-01 20:24:44 +03:00
Pekka Enberg
5d29e04854
Update COMPAT.md
2024-08-01 19:24:10 +03:00
sonhmai
789ae4becf
feat: add time() scalar function partial support without modifier #158
2024-08-01 13:06:07 +07:00
macroexpansion
918b99b7a3
feat: add RTRIM(X) and RTRIM(X,Y) scalar function
2024-07-28 21:17:53 +07:00
Pekka Enberg
877dc76ee9
Update COMPAT.md
2024-07-27 16:06:00 +03:00
macroexpansion
750f18be35
feat: add ltrim scalar function
2024-07-27 19:46:27 +07:00
Ethan Niser
aa6531f802
add unicode scalar function
2024-07-25 10:05:41 -07:00
gandeevanr
eeec0a6d9d
update COMPAT.md
2024-07-23 09:19:17 -07:00
Bennett Clement
0a4e094ef6
Update COMPAT table and remove unused deps
2024-07-22 00:28:31 +08: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
JeanArhancet
6a5d6847c0
feat: add random function
2024-07-19 17:56:01 +02:00
Brayan Jules
73c8fc23ba
implementation of scalar functions upper and lower
2024-07-19 00:38:12 -04:00
jussisaurio
745d7f0547
Update changelog/compat re: joins
2024-07-18 13:32:54 +03:00
Brayan Jules
b7c08b8fd5
feat: abs func initial implementation
2024-07-17 22:55:41 -04:00
Pekka Enberg
44d189668b
Update docs
2024-07-16 14:43:18 +03:00
Pekka Enberg
95ec1ad733
Update docs
2024-07-15 08:38:29 +03:00
Pekka Enberg
0613813a8e
Move compatibility table to top-level directory
2024-07-13 11:01:49 +03:00