Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.08 KB

File metadata and controls

38 lines (24 loc) · 1.08 KB

Wren Core Module

The Wren Core module serves as the semantic core of the Wren engine. To understand the concept of the Wren engine, refer to the Wren engine documentation.

This module is utilized by the API v3 of the ibis-server for SQL planning. Additionally, there is another module for Python bindings, wren-core-py, which is also used by the ibis-server.

How to Test / Build

  • Run Tests:
    • Most unit test cases are located in src/mdl/mod.rs.
    • SQL end-to-end tests are executed using sqllogictests.

You can run all tests with the following command:

cargo test

Coding Style

Please ensure your code is properly formatted before submitting a pull request. Use rustfmt for Rust files and taplo for formatting TOML files.

Format with rustfmt

Run the following command to format Rust code:

cargo fmt

Format TOML with taplo

Install taplo-cli and format TOML files with the following commands:

cargo install taplo-cli --locked
taplo fmt