jussisaurio
|
69f549d2b9
|
remove unnecessary unwrap_or
|
2024-08-17 09:07:29 +03:00 |
|
jussisaurio
|
2e7f240bb5
|
use table_columns() for seekrowid result_columns()
|
2024-08-17 09:04:27 +03:00 |
|
jussisaurio
|
25033d280c
|
more accurate variable name
|
2024-08-16 19:58:59 +03:00 |
|
jussisaurio
|
17cc3717c8
|
rebase
|
2024-08-16 19:43:29 +03:00 |
|
jussisaurio
|
069826820e
|
Finish renaming node -> operator
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
97dc98336c
|
fix comment
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
e7cc04e157
|
Operator comments
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
4c016b042b
|
comment about bitmasks
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
1130ccf203
|
mutable out parameter
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
9ab08ee2e6
|
is_rowid_alias instead of primary_key
|
2024-08-16 19:42:03 +03:00 |
|
jussisaurio
|
2e32ca0bdb
|
More structured query planner
|
2024-08-16 19:42:03 +03: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 |
|
김선우
|
ced664621f
|
Allow char function to have empty args
|
2024-08-16 06:33:18 +09:00 |
|
김선우
|
77c3d130f3
|
Add char function support
|
2024-08-16 06:26:06 +09:00 |
|
김선우
|
28bd0275c0
|
Run cargo fmt, clippy
|
2024-08-15 18:56:02 +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 |
|
Vegard Stikbakke
|
e54fd83f49
|
Handle FunctionCallStar in analyze_expr
|
2024-08-11 13:59:49 +02:00 |
|
gandeevanr
|
23a7d389b1
|
added unit tests for NewRowid
|
2024-08-08 19:04:10 -07:00 |
|
gandeevanr
|
a9cb8157b5
|
initial pass at implementing NewRowId
|
2024-08-07 09:04:09 -07:00 |
|
Pekka Enberg
|
d4d7042373
|
Merge 'Use the correct integer PK column idx as the row-id alias' from GV
This pull request addresses [issue #256](https://github.com/penberg/limbo/issues/256).
However, it currently breaks insertions into tables that lack a row-id
alias due to the NewRowId not being implemented yet. I have created an
[issue](https://github.com/penberg/limbo/issues/275) to track this
problem and will submit a separate pull request to resolve it soon.
Closes #274
|
2024-08-06 08:11:10 +03:00 |
|
Pekka Enberg
|
5b7d112e74
|
Merge 'implementation of json function json(X)' from Jean Arhancet
Add the `json` function `json(X)` (related to the issue https://github.com/penberg/limbo/issues/127)
Closes #230
|
2024-08-06 08:05:33 +03:00 |
|
gandeevanr
|
2b86f89d8d
|
use the correct integer PK column idx as the row-id alias
|
2024-08-04 18:53:54 -07:00 |
|
JeanArhancet
|
4050a3ebe2
|
refactor: impl json5 direclty
|
2024-08-04 12:47:08 +02:00 |
|
JeanArhancet
|
8dbced6a39
|
refactor: delete Insn Json
|
2024-08-04 10:56:51 +02:00 |
|
JeanArhancet
|
552090cb29
|
feat: add json support
|
2024-08-04 10:54:27 +02:00 |
|
sonhmai
|
0e7bd95e4e
|
core: fix clippy
|
2024-08-03 20:14:26 +07:00 |
|
jussisaurio
|
20c085614f
|
Add ability to annotate instructions with comments
|
2024-08-01 20:34:45 +03:00 |
|
jussisaurio
|
7e88ad64da
|
Rename and comment
|
2024-08-01 17:53:21 +03:00 |
|
jussisaurio
|
f46b13690f
|
augment comment
|
2024-08-01 17:47:13 +03:00 |
|
jussisaurio
|
6860329940
|
rename and add comments
|
2024-08-01 17:45:40 +03:00 |
|
jussisaurio
|
81c2f2eca6
|
Add comment
|
2024-08-01 17:40:39 +03:00 |
|
jussisaurio
|
583fe31667
|
rebase fix
|
2024-08-01 17:26:00 +03:00 |
|
jussisaurio
|
551b11303f
|
Broaden the type of expr that qualifies as seekrowid candidate
|
2024-08-01 17:23:59 +03:00 |
|
jussisaurio
|
64f7e48f1b
|
Cleanup
|
2024-08-01 17:23:59 +03:00 |
|
jussisaurio
|
8feb443048
|
Use SeekRowid instruction on expr1 = expr2 constraints if they contain primary keys
|
2024-08-01 17:23:59 +03:00 |
|
Pekka Enberg
|
f8a43361db
|
core: Move pager.rs to storage module
|
2024-08-01 11:52:50 +03:00 |
|
sonhmai
|
789ae4becf
|
feat: add time() scalar function partial support without modifier #158
|
2024-08-01 13:06:07 +07:00 |
|
Pere Diaz Bou
|
2b221d2b3c
|
fix conflicts
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
|
2024-07-31 17:38:33 +02:00 |
|
Pere Diaz Bou
|
84bf0ea96a
|
core: remove a bunch of warnings
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
|
2024-07-31 17:27:02 +02:00 |
|
Pere Diaz Bou
|
7846a3b29c
|
core: fix calculation of record header size varint
|
2024-07-31 17:27:02 +02:00 |
|
Pere Diaz Bou
|
e6f8b34f2b
|
core: insert_to_page almost complete
|
2024-07-31 17:27:02 +02:00 |
|
Pere Diaz Bou
|
a09f3485f9
|
core: fix op generation
|
2024-07-31 17:27:02 +02:00 |
|
Pere Diaz Bou
|
6357e88b46
|
core: implement vdbe opcodes minus newrowid
|
2024-07-31 17:25:01 +02:00 |
|
Pere Diaz Bou
|
affe3443cc
|
core: vbde coroutine generation with rowid insert
|
2024-07-31 17:25:01 +02:00 |
|
Pere Diaz Bou
|
bbed54d11c
|
core: basic op explain insert
|
2024-07-31 17:23:16 +02:00 |
|