mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
|
Some checks are pending
Build and push limbo-sim image / deploy (push) Waiting to run
C compat Tests / test (push) Waiting to run
Dart/Flutter / test (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Dart/Flutter / test (windows-latest) (push) Waiting to run
Dart/Flutter / precompile (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Dart/Flutter / precompile (macOS-latest) (push) Waiting to run
Dart/Flutter / precompile (windows-latest) (push) Waiting to run
Dart/Flutter / publish (push) Waiting to run
Run long fuzz tests and stress test / run-fuzz-tests (push) Waiting to run
Run long fuzz tests and stress test / run-long-fuzz-tests (push) Waiting to run
Run long fuzz tests and stress test / simple-stress-test (push) Waiting to run
Java Tests / test (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-aarch64-apple-darwin - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-aarch64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-wasm32-wasip1-threads - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / db-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-apple-darwin - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-aarch64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-wasm32-wasip1-threads - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-pc-windows-msvc - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / sync-bindings-x86_64-unknown-linux-gnu - node@20 (push) Waiting to run
Build & publish @tursodatabase/database / Test DB bindings on Linux-x64-gnu - node@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Test DB bindings on browser@20 (push) Blocked by required conditions
Build & publish @tursodatabase/database / Publish (push) Blocked by required conditions
Python / configure-strategy (push) Waiting to run
Python / test (push) Blocked by required conditions
Python / lint (push) Waiting to run
Python / linux (x86_64) (push) Waiting to run
Python / macos-arm64 (aarch64) (push) Waiting to run
Python / sdist (push) Waiting to run
Python / Release (push) Blocked by required conditions
Rust / cargo-fmt-check (push) Waiting to run
Rust / build-native (blacksmith-4vcpu-ubuntu-2404) (push) Waiting to run
Rust / build-native (macos-latest) (push) Waiting to run
Rust / build-native (windows-latest) (push) Waiting to run
Rust / clippy (push) Waiting to run
Rust / simulator (push) Waiting to run
Rust / test-limbo (push) Waiting to run
Rust / test-sqlite (push) Waiting to run
Rust Benchmarks+Nyrkiö / bench (push) Waiting to run
Rust Benchmarks+Nyrkiö / clickbench (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h-criterion (push) Waiting to run
Rust Benchmarks+Nyrkiö / tpc-h (push) Waiting to run
Rust Benchmarks+Nyrkiö / vfs-bench-compile (push) Waiting to run
This PR (mostly) finishes implementing support for `ANALYZE` It also uses this newly available metadata to improve calculating the join order. ### Example Queries: Both the same query, different order: <img width="757" height="928" alt="image" src="https://github.com/user- attachments/assets/82edd3bc-ef33-4df0-833d-92106bf4c065" /> Previously, tursodb would have changed the build table when the query was written with `users` on the RHS. Now that we have the metadata available, we are able to determine that `products` should _always_ be the build table for inner equijoin/hash join. ======================= ### AI disclosure A lot of the emission code in `core/translate/analyze.rs` was written by codex. EDIT: Opus 4.5 was monumental in the cost based optimization work here. That remains to be seen whether or not it succeeded XD Closes #4141 |
||
|---|---|---|
| .. | ||
| optimizer | ||
| aggregation.rs | ||
| alter.rs | ||
| analyze.rs | ||
| attach.rs | ||
| collate.rs | ||
| compound_select.rs | ||
| delete.rs | ||
| display.rs | ||
| emitter.rs | ||
| expr.rs | ||
| expression_index.rs | ||
| fkeys.rs | ||
| group_by.rs | ||
| index.rs | ||
| insert.rs | ||
| integrity_check.rs | ||
| logical.rs | ||
| main_loop.rs | ||
| mod.rs | ||
| order_by.rs | ||
| plan.rs | ||
| planner.rs | ||
| pragma.rs | ||
| result_row.rs | ||
| rollback.rs | ||
| schema.rs | ||
| select.rs | ||
| subquery.rs | ||
| transaction.rs | ||
| trigger.rs | ||
| trigger_exec.rs | ||
| update.rs | ||
| upsert.rs | ||
| values.rs | ||
| view.rs | ||
| window.rs | ||