Skip to content

feat(core): import wren-engine into core/ - #2215

Merged
goldmedal merged 753 commits into
mainfrom
chore/import-wren-engine
May 4, 2026
Merged

goldmedal merged 753 commits into
mainfrom
chore/import-wren-engine

Conversation

@goldmedal

Copy link
Copy Markdown
Collaborator

rework for commit history: #2209

goldmedal and others added 30 commits October 25, 2024 17:23
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…n-core in the all group (#900)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…roup (#918)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…/wren-core in the all group (#920)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
goldmedal and others added 26 commits April 8, 2026 11:46
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…message (#1529)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Guard queries.yml with --force in context init to prevent silent overwrite
- Drop _row_id column from memory list table display
- Warn (instead of silently swallowing) queries.yml load failures in memory index
- Validate YAML shape and add error handling for file read in memory load
- Deduplicate row_ids in forget_queries_by_ids to prevent inflated counts
- Collect all row ids per nl_query in upsert to remove every duplicate
- Fix doc wording to match main extra bundle install

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…1556)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…cated security types (#1574)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…and wren-install-guide skill (#1588)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Imports git-filter-repo'd history of Canner/wren-engine. Module directories
moved under core/, docs/ moved under docs/core/, example/ → examples/.
Modules dropped from import: ibis-server, mcp-server, wren-core-legacy,
skills-archive.
- wren-mdl/ → core/wren-mdl/ (MDL JSON schema kept on new main)
- wren-ai-service, wren-ui, wren-launcher, docker, deployment, wren-engine,
  misc, and root markdown files removed; preserved on legacy/v1 for
  reference.

The new main is focused on the Open Context Engine: core/, skills/,
sdks/, examples/, docs/.
Replaces the pre-import description (wren-ui/wren-ai-service/wren-launcher,
GraphQL/Apollo, Python pipelines, Docker stack) with the post-import core/
modules (wren-core, wren-core-base, wren-core-py, wren-core-wasm, wren,
wren-mdl). Notes that legacy services live on legacy/v1 / v1-final.
The duckdb-tpch-example was wren-engine's docker-compose example for the
old ibis-server stack and is no longer relevant after the import.
examples/README.md only pointed at this single example, so it goes too.
examples/ will be re-populated for the Open Context Engine layout.
Co-authored-by: Copilot <copilot@github.com>
@coderabbitai

coderabbitai Bot commented May 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 280 files, which is 130 over the limit of 150.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f1245013-fb1f-4383-a40d-e38f6371e94f

📥 Commits

Reviewing files that changed from the base of the PR and between 19c60c4 and ad60975.

⛔ Files ignored due to path filters (20)
  • core/wren-core-py/Cargo.lock is excluded by !**/*.lock
  • core/wren-core-py/poetry.lock is excluded by !**/*.lock
  • core/wren-core-py/tests/functions.csv is excluded by !**/*.csv
  • core/wren-core-wasm/Cargo.lock is excluded by !**/*.lock
  • core/wren-core-wasm/examples/data/orders.parquet is excluded by !**/*.parquet
  • core/wren-core/core/tests/data/functions.csv is excluded by !**/*.csv
  • core/wren-core/sqllogictest/tests/resources/ecommerce/customers.csv is excluded by !**/*.csv
  • core/wren-core/sqllogictest/tests/resources/ecommerce/order_items.csv is excluded by !**/*.csv
  • core/wren-core/sqllogictest/tests/resources/ecommerce/orders.csv is excluded by !**/*.csv
  • core/wren-core/sqllogictest/tests/resources/tpch/customer.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/lineitem.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/nation.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/orders.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/part.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/partsupp.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/region.parquet is excluded by !**/*.parquet
  • core/wren-core/sqllogictest/tests/resources/tpch/supplier.parquet is excluded by !**/*.parquet
  • core/wren-core/wren-example/data/company/documents.csv is excluded by !**/*.csv
  • core/wren-core/wren-example/data/company/tenants.csv is excluded by !**/*.csv
  • core/wren-core/wren-example/data/company/users.csv is excluded by !**/*.csv
📒 Files selected for processing (280)
  • .claude/CLAUDE.md
  • .gitmodules
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • LICENSE-AGPL-3.0
  • LICENSE-APACHE-2.0
  • LICENSE-CC-BY-4.0
  • README.md
  • SECURITY.md
  • core/wren-core-base/.claude/CLAUDE.md
  • core/wren-core-base/.gitignore
  • core/wren-core-base/AGENTS.md
  • core/wren-core-base/Cargo.toml
  • core/wren-core-base/README.md
  • core/wren-core-base/manifest-macro/Cargo.toml
  • core/wren-core-base/manifest-macro/README.md
  • core/wren-core-base/manifest-macro/src/lib.rs
  • core/wren-core-base/src/lib.rs
  • core/wren-core-base/src/mdl/builder.rs
  • core/wren-core-base/src/mdl/cls.rs
  • core/wren-core-base/src/mdl/manifest.rs
  • core/wren-core-base/src/mdl/migration.rs
  • core/wren-core-base/src/mdl/mod.rs
  • core/wren-core-base/src/mdl/py_method.rs
  • core/wren-core-base/src/mdl/utils.rs
  • core/wren-core-base/tests/data/mdl.json
  • core/wren-core-py/.claude/CLAUDE.md
  • core/wren-core-py/.dockerignore
  • core/wren-core-py/AGENTS.md
  • core/wren-core-py/CHANGELOG.md
  • core/wren-core-py/Cargo.toml
  • core/wren-core-py/README.md
  • core/wren-core-py/build.rs
  • core/wren-core-py/justfile
  • core/wren-core-py/pyproject.toml
  • core/wren-core-py/rustfmt.toml
  • core/wren-core-py/scripts/publish.sh
  • core/wren-core-py/src/context.rs
  • core/wren-core-py/src/errors.rs
  • core/wren-core-py/src/extractor.rs
  • core/wren-core-py/src/lib.rs
  • core/wren-core-py/src/manifest.rs
  • core/wren-core-py/src/remote_functions.rs
  • core/wren-core-py/src/validation.rs
  • core/wren-core-py/tests/__init__.py
  • core/wren-core-py/tests/test_modeling_core.py
  • core/wren-core-wasm/.claude/CLAUDE.md
  • core/wren-core-wasm/.gitignore
  • core/wren-core-wasm/AGENT_GUIDE.md
  • core/wren-core-wasm/Cargo.toml
  • core/wren-core-wasm/LICENSE
  • core/wren-core-wasm/README.md
  • core/wren-core-wasm/examples/inline.html
  • core/wren-core-wasm/examples/serve.mjs
  • core/wren-core-wasm/examples/test-cdn.html
  • core/wren-core-wasm/examples/url-mode.html
  • core/wren-core-wasm/justfile
  • core/wren-core-wasm/package.json
  • core/wren-core-wasm/scripts/build.mjs
  • core/wren-core-wasm/sdk/src/index.ts
  • core/wren-core-wasm/sdk/src/wren_core_wasm.d.ts
  • core/wren-core-wasm/sdk/tests/index.test.mjs
  • core/wren-core-wasm/sdk/tsconfig.json
  • core/wren-core-wasm/src/lib.rs
  • core/wren-core/.claude/CLAUDE.md
  • core/wren-core/.dockerignore
  • core/wren-core/.gitignore
  • core/wren-core/AGENTS.md
  • core/wren-core/Cargo.toml
  • core/wren-core/README.md
  • core/wren-core/benchmarks/Cargo.toml
  • core/wren-core/benchmarks/README.md
  • core/wren-core/benchmarks/bench.sh
  • core/wren-core/benchmarks/compare.py
  • core/wren-core/benchmarks/mdls/q1.json
  • core/wren-core/benchmarks/mdls/q2.json
  • core/wren-core/benchmarks/queries/q1.sql
  • core/wren-core/benchmarks/queries/q2.sql
  • core/wren-core/benchmarks/queries/tpch/q1.sql
  • core/wren-core/benchmarks/queries/tpch/q10.sql
  • core/wren-core/benchmarks/queries/tpch/q11.sql
  • core/wren-core/benchmarks/queries/tpch/q12.sql
  • core/wren-core/benchmarks/queries/tpch/q13.sql
  • core/wren-core/benchmarks/queries/tpch/q14.sql
  • core/wren-core/benchmarks/queries/tpch/q15.sql
  • core/wren-core/benchmarks/queries/tpch/q16.sql
  • core/wren-core/benchmarks/queries/tpch/q17.sql
  • core/wren-core/benchmarks/queries/tpch/q18.sql
  • core/wren-core/benchmarks/queries/tpch/q19.sql
  • core/wren-core/benchmarks/queries/tpch/q2.sql
  • core/wren-core/benchmarks/queries/tpch/q20.sql
  • core/wren-core/benchmarks/queries/tpch/q21.sql
  • core/wren-core/benchmarks/queries/tpch/q22.sql
  • core/wren-core/benchmarks/queries/tpch/q3.sql
  • core/wren-core/benchmarks/queries/tpch/q4.sql
  • core/wren-core/benchmarks/queries/tpch/q5.sql
  • core/wren-core/benchmarks/queries/tpch/q6.sql
  • core/wren-core/benchmarks/queries/tpch/q7.sql
  • core/wren-core/benchmarks/queries/tpch/q8.sql
  • core/wren-core/benchmarks/queries/tpch/q9.sql
  • core/wren-core/benchmarks/requirements.txt
  • core/wren-core/benchmarks/src/bin/tpch.rs
  • core/wren-core/benchmarks/src/bin/wren.rs
  • core/wren-core/benchmarks/src/lib.rs
  • core/wren-core/benchmarks/src/tpch/mod.rs
  • core/wren-core/benchmarks/src/tpch/run.rs
  • core/wren-core/benchmarks/src/util/mod.rs
  • core/wren-core/benchmarks/src/util/options.rs
  • core/wren-core/benchmarks/src/util/run.rs
  • core/wren-core/benchmarks/src/wren/mod.rs
  • core/wren-core/benchmarks/src/wren/run.rs
  • core/wren-core/core/Cargo.toml
  • core/wren-core/core/src/lib.rs
  • core/wren-core/core/src/logical_plan/analyze/access_control.rs
  • core/wren-core/core/src/logical_plan/analyze/expand_view.rs
  • core/wren-core/core/src/logical_plan/analyze/mod.rs
  • core/wren-core/core/src/logical_plan/analyze/model_anlayze.rs
  • core/wren-core/core/src/logical_plan/analyze/model_generation.rs
  • core/wren-core/core/src/logical_plan/analyze/plan.rs
  • core/wren-core/core/src/logical_plan/analyze/relation_chain.rs
  • core/wren-core/core/src/logical_plan/analyze/scope.rs
  • core/wren-core/core/src/logical_plan/error.rs
  • core/wren-core/core/src/logical_plan/mod.rs
  • core/wren-core/core/src/logical_plan/optimize/mod.rs
  • core/wren-core/core/src/logical_plan/optimize/simplify_timestamp.rs
  • core/wren-core/core/src/logical_plan/optimize/type_coercion.rs
  • core/wren-core/core/src/logical_plan/unparser.rs
  • core/wren-core/core/src/logical_plan/utils.rs
  • core/wren-core/core/src/mdl/context.rs
  • core/wren-core/core/src/mdl/dataset.rs
  • core/wren-core/core/src/mdl/dialect/inner_dialect.rs
  • core/wren-core/core/src/mdl/dialect/mod.rs
  • core/wren-core/core/src/mdl/dialect/utils.rs
  • core/wren-core/core/src/mdl/dialect/wren_dialect.rs
  • core/wren-core/core/src/mdl/function/aggregate/mod.rs
  • core/wren-core/core/src/mdl/function/dialect/bigquery/aggregate.rs
  • core/wren-core/core/src/mdl/function/dialect/bigquery/mod.rs
  • core/wren-core/core/src/mdl/function/dialect/bigquery/scalar.rs
  • core/wren-core/core/src/mdl/function/dialect/bigquery/window.rs
  • core/wren-core/core/src/mdl/function/dialect/mod.rs
  • core/wren-core/core/src/mdl/function/macros.rs
  • core/wren-core/core/src/mdl/function/mod.rs
  • core/wren-core/core/src/mdl/function/remote_function.rs
  • core/wren-core/core/src/mdl/function/scalar/json.rs
  • core/wren-core/core/src/mdl/function/scalar/mod.rs
  • core/wren-core/core/src/mdl/function/scalar/to_char.rs
  • core/wren-core/core/src/mdl/function/table/mod.rs
  • core/wren-core/core/src/mdl/function/utils.rs
  • core/wren-core/core/src/mdl/function/window/mod.rs
  • core/wren-core/core/src/mdl/lineage.rs
  • core/wren-core/core/src/mdl/mod.rs
  • core/wren-core/core/src/mdl/type_planner.rs
  • core/wren-core/core/src/mdl/utils.rs
  • core/wren-core/core/tests/data/mdl.json
  • core/wren-core/rustfmt.toml
  • core/wren-core/sqllogictest/Cargo.toml
  • core/wren-core/sqllogictest/bin/sqllogictests.rs
  • core/wren-core/sqllogictest/src/engine/conversion.rs
  • core/wren-core/sqllogictest/src/engine/error.rs
  • core/wren-core/sqllogictest/src/engine/mod.rs
  • core/wren-core/sqllogictest/src/engine/normalize.rs
  • core/wren-core/sqllogictest/src/engine/output.rs
  • core/wren-core/sqllogictest/src/engine/runner.rs
  • core/wren-core/sqllogictest/src/engine/utils.rs
  • core/wren-core/sqllogictest/src/lib.rs
  • core/wren-core/sqllogictest/src/test_context.rs
  • core/wren-core/sqllogictest/test_files/model.slt
  • core/wren-core/sqllogictest/test_files/tpch/q1.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q10.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q11.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q12.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q13.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q14.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q15.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q16.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q17.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q18.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q19.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q2.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q20.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q21.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q22.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q3.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q4.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q5.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q6.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q7.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q8.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/q9.slt.part
  • core/wren-core/sqllogictest/test_files/tpch/tpch.slt
  • core/wren-core/sqllogictest/test_files/type.slt
  • core/wren-core/sqllogictest/test_files/view.slt
  • core/wren-core/taplo.toml
  • core/wren-core/wren-example/Cargo.toml
  • core/wren-core/wren-example/README.md
  • core/wren-core/wren-example/examples/calculation-invoke-calculation.rs
  • core/wren-core/wren-example/examples/datafusion-apply.rs
  • core/wren-core/wren-example/examples/plan-sql.rs
  • core/wren-core/wren-example/examples/row-level-access-control.rs
  • core/wren-core/wren-example/examples/to-many-calculation.rs
  • core/wren-core/wren-example/examples/view.rs
  • core/wren-mdl/mdl.schema.json
  • core/wren/.claude/CLAUDE.md
  • core/wren/CHANGELOG.md
  • core/wren/README.md
  • core/wren/docs/cli.md
  • core/wren/docs/connections.md
  • core/wren/justfile
  • core/wren/pyproject.toml
  • core/wren/scripts/publish.sh
  • core/wren/src/wren/__init__.py
  • core/wren/src/wren/cli.py
  • core/wren/src/wren/config.py
  • core/wren/src/wren/connector/__init__.py
  • core/wren/src/wren/connector/base.py
  • core/wren/src/wren/connector/bigquery.py
  • core/wren/src/wren/connector/canner.py
  • core/wren/src/wren/connector/databricks.py
  • core/wren/src/wren/connector/datafusion.py
  • core/wren/src/wren/connector/duckdb.py
  • core/wren/src/wren/connector/factory.py
  • core/wren/src/wren/connector/ibis.py
  • core/wren/src/wren/connector/mssql.py
  • core/wren/src/wren/connector/mysql.py
  • core/wren/src/wren/connector/oracle.py
  • core/wren/src/wren/connector/postgres.py
  • core/wren/src/wren/connector/redshift.py
  • core/wren/src/wren/connector/spark.py
  • core/wren/src/wren/context.py
  • core/wren/src/wren/context_cli.py
  • core/wren/src/wren/docs.py
  • core/wren/src/wren/engine.py
  • core/wren/src/wren/mdl/__init__.py
  • core/wren/src/wren/mdl/cte_rewriter.py
  • core/wren/src/wren/mdl/wren_dialect.py
  • core/wren/src/wren/memory/__init__.py
  • core/wren/src/wren/memory/cli.py
  • core/wren/src/wren/memory/embeddings.py
  • core/wren/src/wren/memory/schema_indexer.py
  • core/wren/src/wren/memory/seed_queries.py
  • core/wren/src/wren/memory/store.py
  • core/wren/src/wren/model/__init__.py
  • core/wren/src/wren/model/data_source.py
  • core/wren/src/wren/model/error.py
  • core/wren/src/wren/model/field_registry.py
  • core/wren/src/wren/policy.py
  • core/wren/src/wren/profile.py
  • core/wren/src/wren/profile_cli.py
  • core/wren/src/wren/profile_web.py
  • core/wren/src/wren/sql_classify.py
  • core/wren/src/wren/templates/_profile_fields.html
  • core/wren/src/wren/templates/profile_form.html
  • core/wren/src/wren/type_mapping.py
  • core/wren/src/wren/utils_cli.py
  • core/wren/tests/__init__.py
  • core/wren/tests/conftest.py
  • core/wren/tests/connectors/__init__.py
  • core/wren/tests/connectors/test_datafusion.py
  • core/wren/tests/connectors/test_duckdb.py
  • core/wren/tests/connectors/test_mysql.py
  • core/wren/tests/connectors/test_postgres.py
  • core/wren/tests/suite/__init__.py
  • core/wren/tests/suite/manifests.py
  • core/wren/tests/suite/query.py
  • core/wren/tests/suite/test_ref_sql.py
  • core/wren/tests/test_field_registry.py
  • core/wren/tests/test_profile.py
  • core/wren/tests/test_profile_cli.py
  • core/wren/tests/test_profile_web.py
  • core/wren/tests/unit/__init__.py
  • core/wren/tests/unit/test_cli_store_tip.py
  • core/wren/tests/unit/test_config.py
  • core/wren/tests/unit/test_context.py
  • core/wren/tests/unit/test_context_cli.py
  • core/wren/tests/unit/test_convert_mdl.py
  • core/wren/tests/unit/test_cte_rewriter.py
  • core/wren/tests/unit/test_engine.py
  • core/wren/tests/unit/test_memory.py
  • core/wren/tests/unit/test_policy.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/import-wren-engine

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment thread core/wren-core-wasm/examples/inline.html Dismissed
@goldmedal
goldmedal merged commit cc9b67f into main May 4, 2026
13 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants