Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

sanjibansg/substrait-fiddle-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ 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.

Substrait Fiddle Back-end

APIs for Substrait Fiddle

Features

  • Async API service for validating substrait plans and translating queries.
  • Uses DuckDB for producing substrait plans from SQL queries for further validation.

Installation

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

Documentation

View the auto-generated documentation through the Swagger UI. Once the application startup is complete, visit http://127.0.0.1:9090/docs

License

Apache-2.0 license

About

Back-end for Substrait Fiddle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published