Datus MaxCompute Adapter
Alibaba Cloud MaxCompute adapter for Datus. It supports both legacy
project.table projects and schema-enabled project.schema.table projects.
Configuration
database:
type: maxcompute
database: ${MAXCOMPUTE_PROJECT}
endpoint: ${MAXCOMPUTE_ENDPOINT}
access_key_id: ${MAXCOMPUTE_ACCESS_KEY_ID}
access_key_secret: ${MAXCOMPUTE_ACCESS_KEY_SECRET}
namespace_mode: auto
For a three-level project, schema is optional and defaults to default.
Successful automatic detection is cached per connector. Errors other than the
specific MaxCompute response for a non-three-level project are propagated.
namespace_mode accepts auto, two_level, or three_level. Use an explicit
mode only when automatic probing is unavailable to the configured identity.
Optional settings include quota_name, tunnel_endpoint,
timeout_seconds, query_timeout_seconds, and default_hints.
Testing
Unit tests use mocked PyODPS clients and do not require a MaxCompute service:
uv run --package datus-maxcompute pytest datus-maxcompute/tests/unit
MaxCompute is a managed cloud service, so this adapter does not rely on a local
Docker service. Real two-level and three-level coverage lives in the
MaxCompute Cloud Tests workflow. It is not scheduled or required by normal CI;
run it manually after configuring the protected maxcompute-integration
environment with these secrets:
MAXCOMPUTE_ENDPOINTMAXCOMPUTE_ACCESS_KEY_IDMAXCOMPUTE_ACCESS_KEY_SECRETMAXCOMPUTE_TWO_LEVEL_PROJECTMAXCOMPUTE_THREE_LEVEL_PROJECT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datus_maxcompute-0.1.0.tar.gz.
File metadata
- Download URL: datus_maxcompute-0.1.0.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db924598f6c8dd709f1a6e7fed09e6453871af12363980030705ae0715751331
|
|
| MD5 |
03d08d527acfa9a03500bf5310033217
|
|
| BLAKE2b-256 |
10fa37637d05cbdeef0ca97c382b8829ef27769b613cf04699e0418c078ae11a
|
File details
Details for the file datus_maxcompute-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datus_maxcompute-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa2554333e80800c744bdcb549c8eb225339a216ff461ab0355e10c4de132da
|
|
| MD5 |
dac1e4ee7f0c26d93f984c9ba9459b15
|
|
| BLAKE2b-256 |
7f643803fc9cae42404f05cc599b587f8a97830ce061202ae78d5110c921953c
|