Commit Graph

  • 76b29c2909 Merge 'Fix: unique contraint in auto index creation' from Pedro Muniz Jussi Saurio 2025-05-14 19:26:03 +03:00
  • 4dc1431428 handling edge case when passing duplicate a multi-column unique index pedrocarlo 2025-05-10 19:22:41 -03:00
  • ea15b1f617 extract primary key detection pedrocarlo 2025-05-10 18:20:16 -03:00
  • b93156ee9d simplify unique sets creation pedrocarlo 2025-05-10 18:18:18 -03:00
  • e75e20c9e9 fix incorrect matching in column name pedrocarlo 2025-05-10 18:15:42 -03:00
  • 5dee1adab8 panic when on_conflict is specified for Unique constraint pedrocarlo 2025-05-10 18:13:58 -03:00
  • e7d0962a6c adjust order of indices and add tests pedrocarlo 2025-05-10 15:57:21 -03:00
  • 3526a206e4 support Unique properly by creating a vec of auto indices pedrocarlo 2025-05-10 15:32:16 -03:00
  • c5f004c1d6 added test and adjustments pedrocarlo 2025-05-09 01:34:50 -03:00
  • e4ca1bb55e modify automatic index creation to account for unique columns pedrocarlo 2025-05-09 00:52:45 -03:00
  • bb158a5433 add unique field to Column pedrocarlo 2025-05-08 23:12:11 -03:00
  • 002acbb9dc add check for unique contraint in auto index creation pedrocarlo 2025-05-07 12:59:30 -03:00
  • 5025655f75 debug assertions Pere Diaz Bou 2025-05-14 13:53:51 +02:00
  • c3432e1cc3 fmt Pere Diaz Bou 2025-05-14 13:23:12 +02:00
  • 275fd29057 Add clippy to rust-toolchain.toml... Pekka Enberg 2025-05-14 14:22:02 +03:00
  • 13a120530e comment shift_cells_left Pere Diaz Bou 2025-05-14 13:20:11 +02:00
  • 0d8a94d49d expect parse seed in rng_from_time_or_env Pere Diaz Bou 2025-05-14 13:19:20 +02:00
  • 88501fc76f Merge 'Restructure optimizer to support join reordering' from Jussi Saurio Jussi Saurio 2025-05-14 14:02:33 +03:00
  • 34c74e34d9 test page_free_array Pere Diaz Bou 2025-05-14 12:24:14 +02:00
  • 1e48190bdc Merge 'Add rustfmt to rust-toolchain.toml' from Pekka Enberg Pekka Enberg 2025-05-14 13:03:58 +03:00
  • 6365286a9e Fix CHANGELOG Pekka Enberg 2025-05-14 11:30:33 +03:00
  • 5739cd5f46 Add rustfmt to rust-toolchain.toml Pekka Enberg 2025-05-14 11:29:12 +03:00
  • f6e814c113 Refactor read_write_payload_to_page into separate read and write functions krishvishal 2025-05-14 13:03:23 +05:30
  • 31ebbb190a Limbo 0.0.20 Pekka Enberg 2025-05-14 09:49:05 +03:00
  • 176d9bd3c7 Prune bad plans earlier to avoid allocating useless JoinN structs Jussi Saurio 2025-05-12 23:44:28 +03:00
  • eb983c88c6 reserve capacity for memo hashmap entries Jussi Saurio 2025-05-12 23:31:04 +03:00
  • 5e5788bdfe Reduce allocations Jussi Saurio 2025-05-12 23:18:53 +03:00
  • d2fa91e984 avoid growing vec Jussi Saurio 2025-05-12 22:38:51 +03:00
  • 625cf005fd Add some utilities to constraint related structs Jussi Saurio 2025-05-12 15:36:34 +03:00
  • 71ab3d57d8 constraints.rs: more comments Jussi Saurio 2025-05-12 14:45:17 +03:00
  • 5386859b44 as_binary-components: simplify Jussi Saurio 2025-05-12 12:52:42 +03:00
  • 1d465e6d94 Remove unnecessary method Jussi Saurio 2025-05-12 12:48:31 +03:00
  • 9d50446ffb AccessMethod: simplify - get rid of AccessMethodKind as it can be derived Jussi Saurio 2025-05-12 12:43:40 +03:00
  • 12a2c2b9ad Add more documentation to OPTIMIZER.MD Jussi Saurio 2025-05-12 12:06:41 +03:00
  • fe628e221a plan_satisfies_order_target(): simplify Jussi Saurio 2025-05-12 11:45:24 +03:00
  • 4dde356d97 AccessMethod: simplify Jussi Saurio 2025-05-12 11:22:00 +03:00
  • a90358f669 TableMask: comments Jussi Saurio 2025-05-12 11:15:11 +03:00
  • f12eb25962 cost.rs: simplify cost estimation Jussi Saurio 2025-05-10 17:37:58 +03:00
  • 4f07c808b2 Fix bug with constraint ordering introduced by refactor Jussi Saurio 2025-05-10 15:59:30 +03:00
  • 52b28d3099 rename use_indexes to optimize_table_access Jussi Saurio 2025-05-10 15:47:40 +03:00
  • d8218483a2 use_indexes: comments Jussi Saurio 2025-05-10 15:46:29 +03:00
  • e53ab385d7 order.rs: comments Jussi Saurio 2025-05-10 15:38:52 +03:00
  • ff8e187eda find_best_access_method_for_join_order: comments Jussi Saurio 2025-05-10 15:35:10 +03:00
  • 3442e4981d remove some unnecessary parameters Jussi Saurio 2025-05-10 15:32:22 +03:00
  • c18bb3cd14 rename Jussi Saurio 2025-05-10 15:14:38 +03:00
  • 15b32f7e57 constraints.rs: more comments Jussi Saurio 2025-05-10 15:10:55 +03:00
  • c782616180 Refactor constraints so that WHERE clause is not needed in join reordering phase Jussi Saurio 2025-05-10 15:01:51 +03:00
  • 6aa5b01a7b Add note about optimizer directory structure Jussi Saurio 2025-05-10 01:25:43 +03:00
  • bd875e3876 optimizer module split Jussi Saurio 2025-05-10 01:18:35 +03:00
  • ec45a92bac move optimizer to its own directory Jussi Saurio 2025-05-10 00:47:06 +03:00
  • c639a43676 fix parenthesized column edge case Jussi Saurio 2025-05-10 00:41:27 +03:00
  • 90de8791f5 comments Jussi Saurio 2025-05-10 00:27:48 +03:00
  • c8f5bd3f4f rename Jussi Saurio 2025-05-10 00:26:11 +03:00
  • 630a6093aa refactor join_lhs_tables_to_rhs_table Jussi Saurio 2025-05-10 00:25:52 +03:00
  • 62d2ee8eb6 rename Jussi Saurio 2025-05-10 00:11:46 +03:00
  • 5f9ebe26a0 as_binary_components() helper Jussi Saurio 2025-05-10 00:00:40 +03:00
  • a92d94270a Get rid of useless ScanCost struct Jussi Saurio 2025-05-09 23:50:38 +03:00
  • de9e8442e8 fix ephemeral Jussi Saurio 2025-05-09 23:42:11 +03:00
  • 3b1aef4a9e Do Less Work (tm) - everything works except ephemeral Jussi Saurio 2025-05-09 15:28:39 +03:00
  • 87850e5706 simplify Jussi Saurio 2025-05-08 16:55:22 +03:00
  • 77f11ba004 simplify AccessMethodKind Jussi Saurio 2025-05-08 15:47:02 +03:00
  • 5f724d6b2e Add more comments to join ordering logic Jussi Saurio 2025-05-03 15:17:16 +03:00
  • c02d3f8bcd Do groupby/orderby sort elimination based on optimizer decision Jussi Saurio 2025-05-03 13:01:25 +03:00
  • 1e46f1d9de Feature: join reordering optimizer Jussi Saurio 2025-04-19 19:23:01 +03:00
  • c8c83fc6e6 OPTIMIZER.MD docs Jussi Saurio 2025-04-21 16:31:50 +03:00
  • 67a080bfa0 dont mutate where clause during individual index selection phase Jussi Saurio 2025-04-19 17:53:48 +03:00
  • 1b71f58bbf Merge 'Redesign parameter binding in query translator' from Preston Thorpe Jussi Saurio 2025-05-14 09:26:06 +03:00
  • a0f973cb34 Merge 'Fix infinite loop when inserting multiple rows' from Jussi Saurio Jussi Saurio 2025-05-14 09:24:47 +03:00
  • bef665b7f3 Limbo 0.0.20-pre.2 Pekka Enberg 2025-05-14 09:17:07 +03:00
  • d912f14528 Update CHANGELOG Pekka Enberg 2025-05-14 09:16:53 +03:00
  • 67775fbc1d Merge 'github: Ensure rustmft is installed' from Pekka Enberg Pekka Enberg 2025-05-14 09:16:10 +03:00
  • da3815e1cb github: Ensure rustmft is installed Pekka Enberg 2025-05-14 09:03:53 +03:00
  • 3be9807e4f Update CHANGELOG Pekka Enberg 2025-05-14 08:56:13 +03:00
  • a0b2b6e85d Consolidate match case in parameters push to handle all anonymous params in one case PThorpe92 2025-05-13 14:42:12 -04:00
  • 2f255524bd Remove unused import and unnecessary mut annotations in insert.rs PThorpe92 2025-05-13 14:34:22 -04:00
  • 94aa9cd99d Add cases to rewrite_expr in the optimizer PThorpe92 2025-05-13 14:33:45 -04:00
  • 16ac6ab918 Fix parameter push method to re-convert anonymous parameters PThorpe92 2025-05-13 14:33:11 -04:00
  • e91d17f06e Add tests for parameter binding for update, select and delete queries PThorpe92 2025-05-13 12:50:10 -04:00
  • 0593a99f0e Remove insertCtx from parameters and replace fix with expr rewriting PThorpe92 2025-05-13 12:49:16 -04:00
  • fb9fcb7887 Remove prints and change overflow test blob to be 10 pages long. krishvishal 2025-05-13 21:19:49 +05:30
  • c424e830cd Add safety documentation krishvishal 2025-05-13 16:57:44 +05:30
  • 416c88d67d Add comments to the code. krishvishal 2025-05-13 16:51:37 +05:30
  • 6628757c12 Added unit test to check case of read-write payload with overflow krishvishal 2025-05-13 16:36:46 +05:30
  • 93ad65e512 Extend read_write_payload_with_offset to handle offset into overflow pages. krishvishal 2025-05-13 15:28:58 +05:30
  • 3cc9147f6c Merge 'testing/py: rename debug_print() to run_debug()' from Jussi Saurio Jussi Saurio 2025-05-13 10:12:27 +03:00
  • a2e577ad01 Merge 'Fix handling of empty strings in prepared statements' from Diego Reis Jussi Saurio 2025-05-13 10:12:09 +03:00
  • 44e282f630 Add multi-row insert regression test Jussi Saurio 2025-05-13 09:03:01 +03:00
  • 957fe1b446 Fix infinite loop when inserting multiple rows Jussi Saurio 2025-05-13 08:54:25 +03:00
  • cffb731e4c Fix read_write_payload_with_offset and add a test that verifies you can read and write from a column. krishvishal 2025-05-12 22:55:11 +05:30
  • 07bfeadd56 core: Simplify error handling of malformed strings for prepared statements Diego Reis 2025-05-12 13:25:11 -03:00
  • f7ab8b11d6 cargo fmt Diego Reis 2025-05-12 10:56:53 -03:00
  • 2b6b09d435 Merge 'btree: Coalesce free blocks in page_free_array()' from Mohamed Hossam Jussi Saurio 2025-05-12 16:52:11 +03:00
  • bc72c396f0 binds: Add empty prepared statement tests Diego Reis 2025-05-08 16:32:08 -03:00
  • c4e7be04f8 core: Handles prepared statement with empty SQL Diego Reis 2025-05-08 16:31:14 -03:00
  • 70b9438f80 Add comments m0hossam 2025-05-12 15:58:36 +03:00
  • f6cc2c3cd8 Initial implementation of read_write_payload_with_offset This is a port of accessPayload in btree.c. This port gives us the ability to read and write from a payload at a set offset an -d amount. This will be used in the upcoming PRs that will add incremental IO for blobs. krishvishal 2025-05-12 15:31:22 +05:30
  • 6926d7b931 testing/py: rename debug_print() to run_debug() Jussi Saurio 2025-05-12 10:52:13 +03:00
  • 9b96e2bcc3 Merge 'CREATE VIRTUAL TABLE fixes' from Piotr Rżysko Jussi Saurio 2025-05-12 10:47:51 +03:00
  • 7b388b9696 Merge 'Bindings/Go: Fix symbols for FFI calls' from Preston Thorpe Jussi Saurio 2025-05-12 10:44:31 +03:00
  • 501e95637a Merge 'Support isnull and notnull expr' from meteorgan Jussi Saurio 2025-05-12 10:06:35 +03:00