This sample is for experimenting with the Airbyte Module (ABM) locally, without Kubernetes.
The server is configured to obtain a Parquet file from https://github.com/Teradata/kylo/blob/master/samples/sample-data/parquet/userdata2.parquet
The Airbyte server is both an HTTP server (on port 8080) and an Arrow Flight server (on port 8081)
- Install python dependencies
pipenv install
- Run the server with
pipenv run server --config sample/sample.yaml --workdir /tmp
- Read the
userdata
dataset from HTTP server:curl localhost:8080/userdata
- Read the
userdata
dataset from the arrow-flight server:pipenv run python sample/sample.py
- Install python dependencies
pipenv install
- Run the server with
pipenv run server --config sample/write_config.yaml --workdir /tmp
- Send the information to be written to the server:
sample/post.sh
- Check the output in /tmp/airbyte_out
- Send the information to be written to the server using arrow-flight:
pipenv run python sample/sample_put.py
- Check the output in /tmp/airbyte_out