You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, Wren Engine implemented the data source connector by ourselves. To support a new data source, we had to spend a lot of time solving various issues, such as type mapping, syntax support, or data serialization/deserialization. Ibis is a Python DataFrame library that can connect to and convert SQL for many data sources.
We plan to change Wren Engine to a Python project. The core features will be implemented in Rust, and the data flow will be controlled by a Python server.
Architecture
The architecture of the new Wren Engine is illustrated below, and it also demonstrates how to integrate with WrenAI.
In the meantime, I'm working on redesigning the model module in Rust and DataFusion. PR #570 is the first step in this effort. I will file another epic issue for this work later.
Because the work of redesigning the modeling module will take some time, the first version of the Ibis connector will transform WrenSQL using the original SQL plan API (referred to as dry-plan in MDLResourceV2).
Work Lists
There're some subtasks in this epic. We should file other tickets for them.
Data Query API: Query the data source the result. @grieve54706 is working on it now.
Purpose
Previously, Wren Engine implemented the data source connector by ourselves. To support a new data source, we had to spend a lot of time solving various issues, such as type mapping, syntax support, or data serialization/deserialization. Ibis is a Python DataFrame library that can connect to and convert SQL for many data sources.
We plan to change Wren Engine to a Python project. The core features will be implemented in Rust, and the data flow will be controlled by a Python server.
Architecture
The architecture of the new Wren Engine is illustrated below, and it also demonstrates how to integrate with WrenAI.

In the meantime, I'm working on redesigning the model module in Rust and DataFusion. PR #570 is the first step in this effort. I will file another epic issue for this work later.
Because the work of redesigning the modeling module will take some time, the first version of the Ibis connector will transform WrenSQL using the original SQL plan API (referred to as
dry-plan
in MDLResourceV2).Work Lists
There're some subtasks in this epic. We should file other tickets for them.
dry-run
api in MDLResource.The text was updated successfully, but these errors were encountered: