Commit bc7c00c
Improve DuckDB insert performance; support Postgres materialized views; MySQL connection metrics (#311)
* Revert "Revert "Bump secrecy version (#248)" (#252)" (#254)
This reverts commit 3c38758.
* Upgrade datafusion-federation (#258)
* Upgrade federation (#259)
* Add primary keys mismatch verification for DuckDB table creation (#260)
* Add indexes mismatch detection for DuckDB table creation (#261)
* Add indexes mismatch detection for DuckDB table creation
* Update src/duckdb.rs
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
* Update src/duckdb.rs
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
* Update src/duckdb.rs
---------
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
* Add test for DuckDB memory_limit option (#263)
* Use quote_identifier for table name when fetching existing primary keys (#265)
* Defer index/constraint creation until after the initial data load. (#280)
* Defer index/constraint creation until after the initial data load.
* revert: Apply primary keys only at table creation
---------
Co-authored-by: peasee <98815791+peasee@users.noreply.github.com>
* refactor: New TableManager interfaces for DuckDB (#287)
* wip
* refactor: New TableCreator interfaces for DuckDB
* wip: Add some stubbed tests
* wip: #[ignore] not #[skip]
* test: Add creator.rs tests
* test: Add overwrite and append tests
* fix: Add schema validation back, add more unit tests
* refactor: Rename TableCreator::list_internal_tables
* chore: Remove commented out code
* Switch from Appender to duckdb_arrow_scan (#288)
* Switch from Appender to duckdb_arrow_scan
* Fix duckdb-rs commit
* Update src/duckdb.rs
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
---------
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
* duckdb-rs commit from spiceai-1.1.3-backported
* refactor: Append reuses existing base table, more tests, ViewCreator
* fix: InsertOp::Replace needs Append
* Add temp directory parameter (#289)
* refactor: Make TableDefinition PartialEq all of the time
* review: Rename TableCreator to TableManager, use option for internal table state
* refactor: Update error messaging on indexes
* Apply suggestions from code review
Co-authored-by: Phillip LeBlanc <phillip@leblanc.tech>
* fix: Address internal tables that are subsets or other table names
* feat: Add TableDefinition function to determine if it exists
* fix: Allow TableDefinition::name() to be public
* clippy: must_use
---------
Co-authored-by: Phillip LeBlanc <phillip@leblanc.tech>
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
* fix: Make an initial table during `TableProviderFactory::create()` for DuckDB (#290)
* fix: Make initial table if none exist for DuckDB
* refactor: Defer indexes to after first append load
* test: Update tests for append
* fix: Index detection for overwrite mode
* clippy: Reference immediately dereferenced
* test: Fix table creator tests
* Fixes a warning about missing indexes that shouldn't show up for newly created tables. (#292)
* De-duplicate attachments in DuckDBAttachments (#294)
* Allow connection pool size configuration for duckdb connection pool (#275)
* Add connection_pool_size parameter for duckdb table provider
* fix tests
* remove user configured connection_pool param, add min_idle configuration to pool
* fix
* apply suggestions
* fix tests
* add DuckDBConnectionPoolBuilder method
* remove idle size calculation, introduce non-breaking get_or_init instance methods
* fix tests
* Add mode to DuckDbConnectionPoolBuilder, remove lifetime for DuckDBConnectionPoolBuilder
* move build pool functionality into the DuckDB ConnectionPool Builder
* Use builder when get_or_init instance
* only pass pool to the get_or_init_instance_with_builder
* remove unnecessary error
* Add DuckDB setting 'preserve_insertion_order` (#298)
* Update the PostgreSQL query to support inferring the schema from materialized views (#300)
* Update the PostgreSQL query to support inferring the schema from materialized views
* update postgres schema tests, to use complex table for views
* Update examples/postgres.rs
* Update examples/postgres.rs
* Upgrade mysql_async, expose metrics and remove unnecessary type parameters (#302)
* Upgrade mysql_async, expose metrics and remove unnecessary type parameters
* Fix lint issue
* Expose the connection pool metrics via the table factory (#304)
* Support the `pool_min` and `pool_max` MySQL connection parameters (#305)
* Support the `pool_min` and `pool_max` parameters
* Support the `pool_min` and `pool_max` MySQL connection parameters
* Exercise the pool_min/pool_max options
* Fixing merge issues + use spiceai_duckdb_fork
---------
Co-authored-by: Sergei Grebnov <sergei.grebnov@gmail.com>
Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
Co-authored-by: peasee <98815791+peasee@users.noreply.github.com>
Co-authored-by: Qianqian <130200611+Sevenannn@users.noreply.github.com>
Co-authored-by: Evgenii Khramkov <evgenii@spice.ai>22 files changed
Lines changed: 3721 additions & 820 deletions
File tree
- core
- examples
- src
- duckdb
- mysql
- sql/db_connection_pool
- dbconnection
- util
- tests
- mysql
- postgres
- scripts
- snapshots
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
79 | 94 | | |
80 | 95 | | |
81 | 96 | | |
| |||
89 | 104 | | |
90 | 105 | | |
91 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
92 | 121 | | |
0 commit comments