Datus Hologres Adapter
Alibaba Cloud Hologres adapter for Datus. It uses the PostgreSQL wire protocol while preserving Hologres-specific namespaces, table properties, and SQL rules.
Timeouts
timeout_seconds must be positive and now bounds driver I/O as well as pool
checkout where applicable. Long operations may need a larger value. Server
execution deadlines and supported overrides are described in the shared
timeout policy and real-database validation.
A socket/RPC timeout is distinct from an overall operation deadline.
Installation
pip install datus-hologres
Configuration
services:
datasources:
hologres:
type: hologres
host: ${HOLOGRES_HOST}
port: ${HOLOGRES_PORT}
username: ${HOLOGRES_ACCESS_KEY_ID}
password: ${HOLOGRES_ACCESS_KEY_SECRET}
database: ${HOLOGRES_DATABASE}
schema: public
sslmode: prefer
access_key_id and access_key_secret are also accepted as aliases for
username and password. You can pass a console endpoint either as a hostname
or as hostname:port; an explicitly configured port must match an embedded
endpoint port. Hologres public endpoints normally use port 80. Use the SSL mode
configured on the target Hologres instance.
The adapter supports table, schema.table, and
database.schema.table identifiers. It filters Hologres internal schemas from
normal metadata listings and includes Hologres storage properties in generated
table DDL.
Tests
Unit tests do not require cloud credentials:
uv run --all-packages --with pytest pytest datus-hologres/tests/unit -m "not integration"
Live tests require the following environment variables:
HOLOGRES_HOST=
HOLOGRES_PORT=80
HOLOGRES_DATABASE=
HOLOGRES_SCHEMA=public
HOLOGRES_ACCESS_KEY_ID=
HOLOGRES_ACCESS_KEY_SECRET=
HOLOGRES_SSLMODE=prefer
# Set to true only for an instance type that supports materialized views.
HOLOGRES_TEST_MATERIALIZED_VIEW=false
# Optional second database for cross-database schema-routing coverage.
HOLOGRES_SECONDARY_DATABASE=
HOLOGRES_SECONDARY_SCHEMA=public
# Optional preconfigured schema.table or database.schema.table foreign table.
HOLOGRES_TEST_FOREIGN_TABLE=
The integration suite creates an isolated temporary schema, loads a deterministic Tiny TPC-H fixture, and removes the schema when the test session finishes.
Metadata
Release files for datus-hologres 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datus_hologres-0.1.1.tar.gz | 24.2 kB | Without provenance | Details for datus_hologres-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datus_hologres-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for datus_hologres-0.1.1-py3-none-any.whl |
Total release size: 40.0 kB
Release files / datus_hologres-0.1.1.tar.gz
| Download URL | datus_hologres-0.1.1.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
754010d6b238ee45cc160c67982718f8d7d96691bcdae0892447c35f3f0c117b
|
|
BLAKE2b-256 checksum How to use checksums |
1b74fc0e9ec0fe93bb4aa1f80a2c22c0d74bceadc1d62d189980c8d28823aa93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / datus_hologres-0.1.1-py3-none-any.whl
| Download URL | datus_hologres-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96a1cc67f282c9a7821c9fc11bb369867224a846ec686ec09df6f19f827f599c
|
|
BLAKE2b-256 checksum How to use checksums |
f3ffa60f9e25ef43660f80525d1594049517bfe677752022f72ed8f3626f02c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for datus-hologres 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.