Skip to content

Releases

Python 3.0.3

Choose a tag to compare

@vishale6x vishale6x released this 06 Nov 06:59
b7d1689

Python connector 3.0.3

Changes

  • Preserve the server error when cluster auto-resume is rejected, including when auto-resume is disabled.
  • Allow async recovery to retry after a rejected resume request.
  • Decode calendar interval query results while preserving months, days, and microseconds.

Includes PR #90 and PR #91. Production code matches the 3.0.3rc1 testing release.

Install

pip install --upgrade e6data-python-connector==3.0.3

Python 3.0.3rc1 - auto-resume testing

Pre-release

Choose a tag to compare

@vishale6x vishale6x released this 04 Nov 05:34

Testing prerelease for the auto-resume error-handling changes in PR #91.

Install the exact RC:

python -m pip install --upgrade 'e6data-python-connector==3.0.3rc1'
# For native async APIs:
python -m pip install --upgrade 'e6data-python-connector[async]==3.0.3rc1'

Source commit: 3d2bd738066ebadab5389aa43c899157edc5b692. It contains PR head 4ecf851ab87f6d0894a981558eafbf7b1cd7bf5b plus only the RC version change.

The connector preserves permanent Resume rejection details. The async path clears pending state after a definitive rejection so a later recovery attempt can proceed.

Validation: strict package checks, source/archive identity, fresh installed sync/async/pool imports, and the Linux Python 3.12 offline suite passed: 2,443 passed, 43 skipped, one existing xfail. Measured project coverage was 93.3581% lines and 88.2805% branches. Package checksums are attached.

Known limitations for testers:

  • The existing synchronous connection pool can exceed its configured capacity under a controlled concurrent creation race. A limit of three allowed ten simultaneous connections. This also reproduces on released 2.3.15 and is unchanged by this RC.
  • The live qualification workflow still needs separate password and OAuth configurations. OAuth and the complete supported-server matrix remain unqualified.
  • This is a testing RC, not a production-readiness approval.

Python connector 3.0.2

Choose a tag to compare

@vishale6x vishale6x released this 17 Oct 12:53
2c51e3a

Python connector 3.0.2

Queries returning INTERVAL_DAY_SECOND, including timestamp subtraction, now decode to Python datetime.timedelta values. Decoding preserves microsecond precision and supports ordinary vectors, constant vectors, nulls, negative intervals, and zero.

The wire contract adds enum value 17 without changing existing values. Interval values require an engine version that emits INTERVAL_DAY_SECOND.

Install

python -m pip install --upgrade e6data-python-connector==3.0.2

Validation

  • Merged commit: 2c51e3af3c915aadbbdbbe6a58240271d65d052e.
  • All four offline CI configurations passed: Python 3.11 with minimum/current dependencies, 3.12, and 3.13. The Python 3.13 suite recorded 2,420 passed, 37 skipped, and 1 expected failure.
  • Package coverage: 93.30% lines and 88.18% branches. Changed runtime executable lines and branches were fully covered.
  • Both release archives passed strict metadata checks. Their runtime source matches the merged source tree.
  • An additional 83 interval checks passed against source and the installed wheel in the connector's existing decoder-worker context.
  • Live-service tests were skipped. Live interval queries remain unverified.
  • SHA256SUMS lists the published wheel and source archive hashes.

Validated commit CI | PyPI 3.0.2

PR #89

Version 3.0.1 - Result Batch V2 and continuous downloads

Choose a tag to compare

@vishale6x vishale6x released this 08 Oct 06:41
60768cc

Python connector 3.0.1

This version includes the changes tested in 3.0.1rc1 through 3.0.1rc4.

  • Set enable_result_batch_v2=True to receive larger result batches, download
    serialized batches continuously, and decode chunks in parallel. The flag stays
    off by default. Both sync and async connections support it.
  • Downloading continues while decoding runs. Each query has one result RPC in
    progress at a time. Rows and original chunk boundaries keep their order.
  • Send and receive message limits default to unlimited (-1), including when
    V2 is off. Explicit application limits still apply.
  • Sync connections honor both prefixed (grpc.max_receive_message_length)
    and unprefixed message-limit names with V2 on or off. Conflicting aliases are
    rejected, so disabling V2 does not silently remove configured limits.
  • If a decode worker exits or its pipe breaks, the connector can decode the
    retained batch once in the parent process after stopping the failed workers.
    This uses the original deadline and makes no extra result RPC. Invalid data,
    cancellation, and expired deadlines still fail.
  • Only the V2 UNIMPLEMENTED RPC error permits fallback to V1. Other RPC errors
    reach the caller unchanged. Queries and result RPCs are not replayed.
  • Concurrent callers share a cluster auto-resume result. Waiting for the local
    resume lock no longer causes an early failure while a resume is still running.
  • Debug logs include batch, download queue, and decode recovery details without
    logging result values or credentials.

Use and limits

V2 requires planner support and ENABLE_GET_NEXT_RESULT_BATCH_V2=true on the
planner. The optimized client path supports ordinary GIL-enabled CPython 3.11
through 3.13. Keep application startup inside if __name__ == "__main__":.
See the V2 usage guide.

The serialized download queue has no size limit. It can hold the whole result
and exhaust client memory. Worker processes add memory and copying costs.
Parallel decoding does not promise a speedup for every result. Existing query,
RPC, and fetch timeouts remain in effect. Customer-scale completion within
900 seconds has not been established by the offline tests.

To disable V2, close existing work and create connections with the flag off.
This does not restore finite message-size defaults. Set explicit limits or
return to the previous connector version when those defaults are required.

Install

python -m pip install --upgrade e6data-python-connector==3.0.1

Validation

  • Merged commit: 60768cc1a5cb847e730e7dbd6b0184fa80dd4034.
  • Full offline suite: 2,419 passed, 37 live-service tests skipped, 1 existing expected failure.
  • Project coverage: 93.30% lines and 88.15% branches.
  • Main CI passed Python 3.11 minimum/current dependencies, 3.12 current, and 3.13 current.
  • Wheel and source archive passed strict metadata checks, source parity, installed imports, SQLAlchemy checks, and real worker lifecycle and startup failure probes.
  • SHA256SUMS lists the published artifact hashes.

PR #86 | Validation report

3.0.1rc4 - result download and decode recovery

Choose a tag to compare

@vishale6x vishale6x released this 28 Sep 17:19

This release keeps the auto-resume fix from 3.0.1rc3 and adds the Result Batch V2 fixes from PR #86.

  • gRPC send and receive sizes now default to unlimited (-1). Explicit application limits remain effective, including on recovery connections.
  • Continuous downloading stays uncapped and runs independently of decoding, including during decoder worker cleanup and local recovery.
  • If a decoder worker exits or its pipe breaks, the client decodes the retained batch once locally without fetching it again. The original deadline and cancellation rules still apply.
  • Cached exceptions and stopped workers release references to old batches. The first fatal decoding error keeps its original cause. Malformed data and other unrecoverable errors still fail.
  • Keeps RC3's concurrent auto-resume completion sharing and lock-timeout handling. Only UNIMPLEMENTED falls back from V2 to V1; other consuming RPC errors remain visible.

Install:

python -m pip install --upgrade 'e6data-python-connector==3.0.1rc4'

Result Batch V2 remains opt-in with enable_result_batch_v2=True. The unlimited message-size defaults apply independently of this flag. The raw queue can retain the complete serialized result while decoding catches up.

Validation: the combined Linux/Python 3.12 offline suite passed 2,399 tests, with 92.07% statement/branch coverage, 37 live-service skips and one existing expected failure. Wheel and source-package contents match the release source. Strict package checks and installed-wheel imports, dialect registration, parallel decoding and real worker-crash recovery passed.

The release commit also passed the complete GitHub CI matrix on Python 3.11 with minimum and current dependencies, Python 3.12, and Python 3.13. These checks build the wheel and verify base, async and async-SQLAlchemy installations.

This is a release candidate for customer testing. It does not establish the exact cause of the reported customer decode_failed error or prove completion of the large customer workload within the planner timeout. No customer query or benchmark was run for this release.

The wheel and source package are attached with SHA-256 checksums.

3.0.1rc3 - auto-resume fix

Pre-release

Choose a tag to compare

@vishale6x vishale6x released this 27 Sep 09:24

Adds the concurrent auto-resume fix from PR #87 while preserving all changes from 3.0.1rc2.

Waiting queries with matching connection settings now share a successful resume check. Later queries still make a fresh check. Failed lock acquisition raises an error instead of entering the protected block.

Install:

python -m pip install --upgrade 'e6data-python-connector==3.0.1rc3'

Result Batch V2 remains opt-in, with the same behavior and requirements as RC2. The server readiness fix is tracked separately in core PR #1902.

Release candidate for testing. Full RC3 validation is incomplete because the offline test run hit Docker disk exhaustion.

Wheel and source package are attached with SHA256 checksums.

3.0.1rc2

3.0.1rc2 Pre-release
Pre-release

Choose a tag to compare

@vishale6x vishale6x released this 23 Sep 02:58

This release candidate adds continuous result downloading and parallel chunk decoding behind enable_result_batch_v2=True.

The connector keeps fetching serialized batches while decoding runs concurrently. The raw-batch queue has no size limit. Each query has one active result RPC, and results retain their original order. Fetch RPC exceptions reach the caller unchanged; only UNIMPLEMENTED falls back to V1. Debug logs include batch sizes and fetch/decode timings.

Install:

python -m pip install --upgrade 'e6data-python-connector==3.0.1rc2'

Enable enable_result_batch_v2=True on the sync or async connection. The planner must also have ENABLE_GET_NEXT_RESULT_BATCH_V2=true. The feature remains disabled by default.

The implementation passed the complete offline suite in Python 3.11 with minimum and current dependencies, Python 3.12, and Python 3.13. This release also receives package metadata, source matching, and installed-worker checks. Live customer qualification and the actual 900-second timeout target remain unverified.

Local synthetic tests with 100 ms simulated delay per RPC measured 67.0% less download time for mixed data and 54.5% less for wide strings compared with sequential V2. Total processing time fell by 34.1% and 23.4%, respectively, excluding worker startup. These are local measurements, not customer performance guarantees.

Both the wheel and source package are attached with SHA256 checksums.

3.0.1rc1 - Result Batch V2 customer testing

Choose a tag to compare

@vishale6x vishale6x released this 18 Sep 11:42

Result Batch V2 lets compatible planners return multiple result chunks in one response, reducing the number of fetch requests for large query results. This release candidate is published from vishal/plt-10376-result-batch-v2 for customer testing of PR #86 (PLT-10376).

Install the exact release candidate:

python -m pip install "e6data-python-connector==3.0.1rc1"

For native async use, install e6data-python-connector[async]==3.0.1rc1.

V2 remains disabled by default. Add enable_result_batch_v2=True to the existing connection configuration to test it against a planner that enables ENABLE_GET_NEXT_RESULT_BATCH_V2. Existing connection credentials and other settings are unchanged.

The connector preserves chunk order, delivers terminal-response rows, and falls back to V1 only when the server returns UNIMPLEMENTED. Receive limits remain unchanged, including the configurable 64 MiB async default. This release does not add background prefetching.

The feature branch passed the full offline Python 3.11-3.13 test matrix. A live SELECT 1 returned 1 over V2 with no V1 fallback and successful cleanup. Large-result performance, the 900-second workload requirement, and the broader live compatibility and failure matrix remain unqualified. This is a prerelease for testing, not a general-production rollout recommendation.

Source: #86

Version 3.0.0 - OAuth 2.0 and native asyncio support

Choose a tag to compare

@vishale6x vishale6x released this 15 Sep 06:30
df85f81

What's changed

  • Native asyncio API for Python 3.11+: optional async connections, cursors, connection pooling, batch iteration and bounded cleanup through e6data_python_connector.aio.
  • SQLAlchemy 2.0 async integration through the e6data+asyncio dialect and async-sqlalchemy extra.
  • OAuth 2.0 authentication with client-credentials token acquisition, caching and renewal, optional scopes, Basic or POST client authentication, and externally supplied access tokens. OAuth sends a current bearer token on every RPC.
  • Shared token lifecycle across matching sync and async connections, pools, threads and event loops within one process.
  • Bounded cluster auto-resume after an exact suspended-cluster response during initial preparation, with authenticated status checks, at most one resume request and a bounded readiness wait. Query execution and result retrieval are not blindly replayed.
  • Catalog discovery through synchronous Connection.get_catalogs().

Existing synchronous connections, pooling and username/password authentication remain available. Async support is optional.

Installation

# Base connector
python -m pip install --upgrade 'e6data-python-connector==3.0.0'

# Native asyncio API - Python 3.11+
python -m pip install --upgrade 'e6data-python-connector[async]==3.0.0'

# Async API with SQLAlchemy 2.0 - Python 3.11+
python -m pip install --upgrade 'e6data-python-connector[async-sqlalchemy]==3.0.0'

Usage and validation

Configure OAuth with secure=True and an HTTPS token endpoint. Supply exactly one authentication method. Externally supplied access tokens are not refreshed. OAuth and auto-resume require compatible, enabled server components.

The merged-commit CI passes all four offline test, coverage, wheel-build and fresh-install configurations. Live service qualification is a separate explicitly configured workflow and was not run as part of this publication.

The attached wheel and source archive were built from commit df85f81868aab047043b18a0eedf373fb2aae680. SHA256SUMS records their checksums.

See the Async API guide and OAuth lifecycle guide.

Implemented in PR #85.

Full changelog: 2.3.15...3.0.0

Version 2.3.15

Choose a tag to compare

@vishale6x vishale6x released this 29 Jun 10:39
d915a1b

What's Changed

  • fix(dialect): map engine short type names + strip type params in get_columns by @chandel-e6x in #84

New Contributors

Full Changelog: 2.3.14...2.3.15