Apache Paimon Python The Python implementation of Apache Paimon.

Clone this repo:
  1. b4dd596 #49 Implement Python native read with PyArrow (#50) by ChengHui Chen · 6 weeks ago main
  2. 0be8175 #40 Provide Optional Built-in Hadoop Dependencies (#41) by ChengHui Chen · 3 months ago
  3. af06c70 #46 Improve Readability of TableRead Impletation (#47) by ChengHui Chen · 3 months ago
  4. 08d0bb3 #42 Simplify Import Paths by Exposing Core Classes at Package Root (#43) by ChengHui Chen · 3 months ago
  5. 0eb79a8 #44 Make Split and Predicate Serializable (#45) by ChengHui Chen · 3 months ago

Paimon

License

This repo is for Apache Paimon Python SDK.

Development Notice

Checkstyle

Flake8 is used to enforce some coding guidelines.

  1. Install flake8 for your Python interpreter using pip install flake8.
  2. In PyCharm go to “Settings” → “Tools” → “External Tools”.
  3. Select the “+” button to add a new external tool.
  4. Set “Name” to “flake8”.
  5. Set “Description” to “Code Style Check”.
  6. Set “Program” to the path of your Python interpreter, e.g. /usr/bin/python.
  7. Set “Arguments” to -m flake8 --config=tox.ini.
  8. Set “Working Directory” to $ProjectFileDir$.

You can verify the setup by right-clicking on any file or folder in the flink-python project and running “External Tools” → “flake8”.

Check

We provide script to check codes.

./dev/lint-python.sh    # execute all checks
./dev/lint-python.sh -h # run this to see more usages         

Build

We provide a script to build source distribution package.

./dev/build-source-distribution-package.sh

The package is under dist/.

Usage

See Apache Paimon Python API Doc.