Skip to main content

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_ENDPOINT
  • MAXCOMPUTE_ACCESS_KEY_ID
  • MAXCOMPUTE_ACCESS_KEY_SECRET
  • MAXCOMPUTE_TWO_LEVEL_PROJECT
  • MAXCOMPUTE_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

datus_maxcompute-0.1.0.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datus_maxcompute-0.1.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

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

Hashes for datus_maxcompute-0.1.0.tar.gz
Algorithm Hash digest
SHA256 db924598f6c8dd709f1a6e7fed09e6453871af12363980030705ae0715751331
MD5 03d08d527acfa9a03500bf5310033217
BLAKE2b-256 10fa37637d05cbdeef0ca97c382b8829ef27769b613cf04699e0418c078ae11a

See more details on using hashes here.

File details

Details for the file datus_maxcompute-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for datus_maxcompute-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa2554333e80800c744bdcb549c8eb225339a216ff461ab0355e10c4de132da
MD5 dac1e4ee7f0c26d93f984c9ba9459b15
BLAKE2b-256 7f643803fc9cae42404f05cc599b587f8a97830ce061202ae78d5110c921953c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page