Skip to content

v0.13.0

Latest

Choose a tag to compare

@wjsi wjsi released this 12 Jun 01:53
558462b

Features

  • Storage API v2 - Introduces the new Storage API v2 interface for interacting with MaxCompute storage.
  • Vector type support - Adds full vector data type support including pure Python type definitions, tunnel I/O, and Arrow tunnel round-trip handling.
  • BlobWriter and BlobReference for Python UDF - Provides stub classes for blob operations in Python UDFs.
  • Free-threaded Python support (beta) - Introduces initial support for free-threaded Python (PEP 703), allowing PyODPS to run in environments without the GIL.

Enhancements

  • Drop support of Python 2.7 - Support of Python 2.7 is dropped and compatibility modules are removed. Code is changed to accept new syntax of Python>=3.7.
  • Try obtaining task statuses when task results are ready - Improves task status retrieval by attempting to obtain statuses when results become available. This can help obtaining results under MaxQA.
  • Add missing tunnel session arguments - Adds previously missing arguments to tunnel session creation.
  • Add fallbacks for enums - Adds fallback handling for enum values to improve robustness.

Bug Fixes

  • Use struct for timestamps from instance tunnel - Improves timestamp handling in instance tunnel by using struct-based parsing.
  • Fix potential exponential recursion in PyODPS DataFrame - Introduces caching for ExprProxy objects to avoid exponential recursion.
  • Remove monkey patch of minidom writexml method - Fixes incompatibility of the patch in Python>=3.13.
  • Fix writing upsert table with random primary key location - Fixes cython version of RecordHasher to produce correct hash keys.

Compatibility Notes

  • Python 2.7 support dropped - PyODPS v0.13.0 no longer supports Python 2.7. The minimum supported Python version is now 3.7. Please do not upgrade if you want to stay with Python 2.7. DataWorks users who are using PyODPS with Python 2.7 will stay with PyODPS 0.12.6.
  • Mars removed - Mars integration support has been removed. Users relying on this should switch to MaxFrame or migrate to alternative solutions before upgrading.