Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from KipData:main #2

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open

[pull] main from KipData:main #2

wants to merge 48 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Apr 28, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

* test: add crdb/order_by.slt

* config: update version

* ci: update toolchain
@pull pull bot added the ⤵️ pull label Apr 28, 2024
KKould and others added 28 commits April 28, 2024 23:56
* feat: add support for `TRIM()`

* test(trim): improves test cases
* refactor: remove async & kipdb

* chore: codefmt

* chore: codefmt

* docs: add llvm
* feat: support pgwire

* chore: publish 0.0.1

* chore: docs
* feat: support udtf

* chore: clean macro

* docs: add UDTF
* test: add `crdb/limit.slt`

* ci: add args `--all` on cargo test
* feat: support FastSort on sort.rs

* chore: drop eval_values after tuples sorted on `FastSort`
* fix: add `natual_join.slt` & fix `Integer` cast & `Wildcard` resulting in early exit

* chore: `assert!` -> `debug_assert!`
imports in db.rs by using lock_api for ArcRwLock guards.
* fix: expired statistics meta file clean

* chore: codefmt

* chore: sort paths to ensure normal unit test under different systems
* refactor: impl `ReferenceSerialization`

* chore: codefmt

* chore: codefmt
* refactor: impl `ReferenceSerialization`

* refactor: ColumnId -> Ulid

* fix: column miss match on `Insert`
* feat: add function Lower & Upper

* chore: codefmt

---------

Co-authored-by: NANASE <[email protected]>
…void permission denied (#233)

Changed path directory retrieval from `dirs::config_dir` to `dirs::home_dir` in `analyze.rs`. This ensures the application uses the user's home directory for storing and accessing necessary metadata paths.
* feat: impl `View` Encode & Decode

* chore: add `ReferenceSerialization` for `DataValue::Tuple` & fix subquery plan on `ReferenceSerialization`

* feat: impl `CreateView`

* feat: impl `View` as data source

* test: add test for `View`

* chore: add feature `is_sorted`

* chore: version up
* chore: publish `fnck_sql_serde_marco`

* chore: codefmt
* feat: impl multiple primary keys

* chore: remove `ValueRef` to reduce Arc usage

* feat: `Update` supports `Set` using expressions

fix:
- primary key value position when declaring multiple primary keys(update & insert & delete)
- decimal type conversion
- the `Eq` expression of `PushPredicateIntoScan` must satisfy all index columns before it can be used
- `PrimaryKey` index supplementary composite index type
- `Tuple` deserialize may fail due to a large difference in the number of projection columns and table schema

* chore: cache `pk_ty` on `TableCatalog::add_index_meta`

* perf: use `TupleIdBuilder` for `Tuple::deserialize_from`

* chore: codefmt
* chore: remove useless dependencies `lazy_static` & `integer-encoding`

* chore: remove useless dependencies `rand` & `strum_macros` & `tracing`

* chore: update `describe.slt`

* ci: cache rust dependencies

* ci: remove cache
* chore: `debug_assert!` -> `assert!`

* chore: codefmt
* test: add Tpcc

* fix: stackoverflow with `TPCC` release mode

* chore bump fnck_sql version to 0.0.6
KKould and others added 19 commits November 14, 2024 02:50
* feat: lmpl `DropView`

* chore: codefmt
Extended the COPY TO command to support exporting table data to CSV files. Enhanced the planning, execution, and test modules to handle the file writing mechanics and schema handling. Updated README to mark VIEW support as implemented and added relevant tests.
* feat: impl `PrepareStatement`

* chore: TPCC use `PrepareStatement` on Test
* perf: #155 & explain tpcc make sure all statement use index

* chore: make `IndexIter` stateful to enhance readability
* refactor: use `ResultIter`(`DatabaseIter`&`TransactionIter`) for `DataBase` result return

* refactor: enumerate the childrens attribute of `LogicalPlan`

* chore: fix word (`macros`)
* perf: simplification of `HashJoin` and `HashAgg`

* perf: tpcc

- `Tuple` id to use mapping to get the primary key
- `Executor` uses `*mut Transaction` to avoid materialization problems caused by mutable references
* perf: use `byteorder` on `DataValue::to_raw` & `DataValue::from_raw`

* perf: Use `bumpalo` to control memory allocation of `Sort` and `TableCodec`

* chore: simplify `Tuple::deserialize_from` & `ScalaExpression::eval` & `HepGraph::node_iter` & `HepOptimizer::apply_batch`

* perf: encode the tablename prefix in `TableCodec` into a hash, enabling it to apply rocksdb prefix range

* chore: simplify parameter on execute sql
* chore: supplement decimal’s `memcomparable` encode

* chore: fix server.rs
* chore: simplify `DataValue`

* config: version up
Replaces custom handler implementations with a streamlined `PgWireServerHandlers` factory. Updates `pgwire` to version 0.28.0. This improves modularity and compatibility, simplifying query processing and error handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants