Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python API for Delta Tables

A simple FastAPI example of three endpoints to create, read and append data to a delta table.

Note: This example uses Azurite Emulator as Storage Account.

Stand up the services

docker-compose up -d --build

Create the container

  1. Using Microsoft Azure Storage Explorer connect to Storage Accounts / Emulator.
  2. Create a container: sandbox

alt text

Create a delta table

curl -X POST http://127.0.0.1:8000/create \
   -H 'Content-Type: application/json' \
   -d '{ "x": 1, "y": 1 }'

Append to delta table

curl -X POST http://127.0.0.1:8000/append \
   -H 'Content-Type: application/json' \
   -d '{ "x": 2, "y": 2 }'

Read delta table

curl http://127.0.0.1:8000/read

About

A sample of http endpoints for delta tables

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages