A openmldb provider package built by 4paradigm.
Project description
Airflow OpenMLDB Provider
Overview
Airflow OpenMLDB Provider supports connecting to OpenMLDB. Specifically, connect to the OpenMLDB API Server.
Operators:
- OpenMLDBLoadDataOperator
- OpenMLDBSelectIntoOperator
- OpenMLDBDeployOperator
- OpenMLDBSQLOperator: the underlying implementation of operators above. Support all sql.
Only operators and a hook, no sensors.
Build
To build openmldb provider, follow the steps below:
- Clone the repo.
cd
into provider directory.- Run
python3 -m pip install build
. - Run
python3 -m build
to build the wheel. - Find the .whl file in
/dist/*.whl
.
How to use
Write the dag, using openmldb operators, ref simple openmldb operator dag example.
Create the connection in airflow, the name is openmldb_conn_id
you set.
Trigger the dag.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file airflow_provider_openmldb-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: airflow_provider_openmldb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0b309caf35540c23f6d48aaf9c4d4854fb4a7410fc8213e5bc44ee1d9258ef |
|
MD5 | 1624424937e028c74602778f8d09ec1f |
|
BLAKE2b-256 | 5a9590c692d755792018c3f3d1b399921d737d985cbbc9e51dc1dcc8c9b9fe7a |