Commit Graph

309 Commits

Author SHA1 Message Date
jussisaurio
cc79ff5cfd Fix #205: agg functions on text columns 2024-07-23 23:18:01 +03:00
gandeevanr
dc01fa4a6f added support for parsing timezones 2024-07-23 09:19:17 -07:00
gandeevanr
7bb3412e66 added compatibility tests for date 2024-07-23 09:19:17 -07:00
gandeevanr
871fae3286 Implement the Date() method 2024-07-23 09:19:08 -07:00
Pekka Enberg
966ee39589 core: Move sorter.rs to vdbe/ 2024-07-23 14:54:41 +03:00
Pekka Enberg
e0663f2acf core: Move insn_to_str() to vdbe/explain.rs 2024-07-23 14:51:52 +03:00
Pekka Enberg
8f00888a6c core: Move ProgramBuilder to vdbe/builder module 2024-07-23 14:30:31 +03:00
Pekka Enberg
e154fc1826 core: Move vdbe.rs to vdbe/mode.rs
Preparation for splitting vdbe.rs into smaller modules.
2024-07-23 14:25:23 +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
b81f7d9acd add cursor_hint to min and max scalar functions 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
Joan Martinez
dd34a4c045 bench: fix compilation 2024-07-22 11:42:25 +02: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
Pekka Enberg
a5dd8fd92c core: Move select.rs to translate/ 2024-07-21 20:36:56 +03:00
Pekka Enberg
8ce67768e3 core: Move where_clause.rs to translate/ 2024-07-21 20:36:56 +03:00
Pekka Enberg
fee1530ea6 core: Move expr.rs to translate/ 2024-07-21 20:36:56 +03:00
Pekka Enberg
25228f44dc core: Rename translate.rs as translate/mod.rs
In preparation for moving more things under `translate` module.
2024-07-21 20:36:56 +03:00
Joan Martinez
6ff27454cc Merge branch 'main' of https://github.com/JoanFM/limbo into fix-io-arc 2024-07-21 19:31:27 +02:00
Joan Martinez
642603b6c7 perf-latency: fix enabling to build multitenancy 2024-07-21 19:13:02 +02:00
Joan Martinez
4bcae54aa9 fix: use Arc to handle IO 2024-07-21 19:01:58 +02:00
Bennett Clement
0a4e094ef6 Update COMPAT table and remove unused deps 2024-07-22 00:28:31 +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
Bennett Clement
865b3a04e9 Implement orderby translation 2024-07-22 00:27:46 +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
JeanArhancet
a2d4d73ce5 refactor: use getrandom 2024-07-19 21:26:42 +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
dcd08e3b38 Extract modules expr,select,where_clause from translate.rs 2024-07-18 14:31:26 +03: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
gandeevanr
c391b7b9a6 implemented the drop trait for all the limbo_core::File implementations 2024-07-17 11:34:47 -07:00
gandeevanr
9ef212edd3 Added support to disallow multiple processes from opening the same database file in linux and darwin 2024-07-17 11:34:47 -07:00
jussisaurio
40aa081ec2 Conditionally disable rusqlite benchmark 2024-07-17 11:52:17 +03:00
Pekka Enberg
a0c92f6d80 Switch to workspace versioning 2024-07-17 08:39:36 +03:00
Pekka Enberg
ad70a240d4 Merge pull request #147 from benclmnt/feat/where-and 2024-07-16 21:35:01 +03:00
Pekka Enberg
ae7bfe1d05 Merge pull request #170 from benclmnt/read-index-from-disk
Read raw bytes for index btree pages
2024-07-16 20:38:50 +03:00
Pekka Enberg
c42647c352 Merge pull request #171 from pereman2/translate-ref
core: use references to ast instead of hard copies
2024-07-16 20:36:04 +03:00
Pere Diaz Bou
01b96abbac core: use references to ast instead of hard copies
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
2024-07-16 18:48:05 +02:00
Bennett Clement
9bb15c5788 Read raw bytes for index btree pages 2024-07-17 00:38:35 +08:00
Joan Martinez
b4cd8e39b5 core: validate result from CQ 2024-07-16 14:08:49 +02:00
Pekka Enberg
b7599abd2c Merge pull request #166 from penberg/fix-io-uring
Fix io_uring support on older Linux kernels
2024-07-16 14:51:14 +03:00
Pekka Enberg
207ec5ce92 core: Enable direct I/O optimistically
...but keep going if the filesystem does not support it. Fixes Limbo on
older Linux kernels that have io_uring but don't support direct I/O on
all filesystems, such as tmpfs or encryptfs.
2024-07-16 14:48:38 +03:00
Pekka Enberg
812a8b9ea2 core: Switch io_ring to Readv and Writev
The Readv and Writev opcodes are available on all Linux kernel versions
so let's switch to them.
2024-07-16 14:24:12 +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