https://github.com/cihansari/mageai-dbt-databend-integration
https://github.com/cihansari/mageai-dbt-databend-integration
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cihansari/mageai-dbt-databend-integration
- Owner: CihanSari
- License: mit
- Created: 2023-11-11T19:22:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T18:08:08.000Z (over 2 years ago)
- Last Synced: 2025-04-10T03:59:12.449Z (about 1 year ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MageAI - dbt - Databend Integration
## Integration Overview
This project integrates MageAI with dbt and the Databend plugin. However, due to version incompatibility issues, a temporary solution has been implemented by creating an isolated virtual environment for dbt and Databend.
## Temporary Solution
To address the version mismatch, a virtual Python 3.11 environment is created specifically for dbt and Databend. This allows the installation of dependencies without affecting the MageAI environment.
## Build Instructions
To build the Docker image, use the following command:
```bash
docker build --target mdd --build-arg MDD_BASE_IMAGE=mageai/mageai:latest --build-arg MDD_PYTHON_VERSION=python3.11 -t mageai-dbt-databend .
```
## Test Instructions
Run the included test script to validate the integration:
```bash
docker build --target mdd-test --build-arg MDD_BASE_IMAGE=mageai/mageai:latest --build-arg MDD_PYTHON_VERSION=python3.11 -t mageai-dbt-databend .
```