Pekka Enberg
|
ac54c35f92
|
Switch to workspace dependencies
...makes it easier to specify a version, which is needed for `cargo publish`.
|
2025-02-12 17:28:04 +02:00 |
|
Jussi Saurio
|
670dac5939
|
sqlite3-parser: box the where clause in Delete
|
2025-02-08 18:10:25 +02:00 |
|
Jussi Saurio
|
f599b5a752
|
Make programbuilder aware of plan to count/estimate required memory
|
2025-02-05 14:22:42 +02:00 |
|
Pekka Enberg
|
9fdf54de2b
|
Merge 'Small perf optimizations to statement preparation' from Jussi Saurio
```bash
Prepare `SELECT 1`/Limbo/SELECT 1
time: [765.94 ns 768.26 ns 771.03 ns]
change: [-7.8340% -7.4887% -7.1406%] (p = 0.00 < 0.05)
Performance has improved.
Prepare `SELECT * FROM users LIMIT 1`/Limbo/SELECT * FROM users LIMIT 1
time: [1.5673 µs 1.5699 µs 1.5731 µs]
change: [-10.810% -9.7122% -8.4951%] (p = 0.00 < 0.05)
Performance has improved.
Prepare `SELECT first_name, count(1) FROM users GROUP BY first_name HAVING count(1) > 1 ORDER BY cou...
time: [4.1331 µs 4.1421 µs 4.1513 µs]
change: [-9.3157% -9.0255% -8.7372%] (p = 0.00 < 0.05)
Performance has improved.
```
flamegraph for prepare `SELECT 1`:
<img width="1718" alt="Screenshot 2025-02-03 at 10 34 14"
src="https://github.com/user-
attachments/assets/ba67fe2f-78b2-4796-9a09-837d8e79fe62" />
Closes #872
|
2025-02-05 10:46:57 +02:00 |
|
Jussi Saurio
|
40f536fabb
|
Dont store available_indexes on plan; only used in optimize_plan()
|
2025-02-03 12:52:14 +02:00 |
|
Jussi Saurio
|
1e5501650a
|
Support column aliases in GROUP BY, ORDER BY and HAVING
|
2025-02-03 10:44:05 +02:00 |
|
Jussi Saurio
|
09b6bad0af
|
delete.rs: use new data structures when parsing delete
|
2025-02-02 10:18:13 +02:00 |
|
ben594
|
d03a0dbd39
|
Added parsing of offset clause
|
2025-01-26 16:40:30 -05:00 |
|
Levy A.
|
eff5de50c5
|
refactor: make translate_* functions accept ProgramBuilder
simplifies function signatures and allows attaching more context to
ProgramStatus on `translate::translate`, useful for query parameters.
|
2025-01-13 20:41:56 -03:00 |
|
Jussi Saurio
|
f434b24e63
|
Fix limbo/core to work with new boxed ast types
|
2025-01-05 13:51:34 +02:00 |
|
Jussi Saurio
|
2066475e03
|
feat: subqueries in FROM clause
|
2024-12-31 14:18:29 +02:00 |
|
Pekka Enberg
|
33dbd6c892
|
core: External functions
|
2024-12-31 13:56:32 +02:00 |
|
Pekka Enberg
|
3046757d09
|
core/translate: Move prepare_delete_plan() to delete.rs
The planner.rs file is pretty big. Let's make it smaller by moving more
of delete handling to delete.rs.
|
2024-12-31 11:40:35 +02:00 |
|
김선우
|
906975e1ca
|
Add limit support
|
2024-12-24 12:25:04 +09:00 |
|
김선우
|
5cdcb8d78c
|
Split Plan into Select and Delete
|
2024-12-23 05:45:23 +09:00 |
|
김선우
|
57c7a56e35
|
Apply fmt, clippy
|
2024-12-22 14:27:21 +09:00 |
|
김선우
|
9a8b94ef93
|
First successful implementation of delete planning
|
2024-12-22 13:16:16 +09:00 |
|