⚠️ IMPORTANT: This repository has been moved to the Voltron Data organization, and will no longer be maintained here. All future development will be made here https://github.com/voltrondata/substrait-fiddle.
APIs for Substrait Fiddle
- Async API service for validating substrait plans and translating queries.
- Uses DuckDB for producing substrait plans from SQL queries for further validation.
Clone the github repository
git clone https://github.com/sanjibansg/substrait-fiddle-backend.git
cd substrait-fiddle-backend/
Install the requirements
pip install -r requirements.txt
Run the server in port 9090
uvicorn app:app --reload --port 9090
or, just run the server as a docker container
docker build -t substrait-fiddle-backend .
docker run -d -p 9090:9090 substrait-fiddle-backend
View the auto-generated documentation through the Swagger UI. Once the application startup is complete, visit http://127.0.0.1:9090/docs