Release notes

更新时间:
复制 MD 格式

This page lists the release history of MaxCompute SDK for Java (aliyun-odps-java-sdk), including new features, enhancements, bug fixes, and compatibility changes.

Important

For information about how to integrate MaxQA (Query Acceleration 2.0) with the SDK, see Query Acceleration MaxQA.

Version

Change Type

Description

v0.45.2-public

Enhancements

  • Console: The new console is now available for release.

  • SQL COST command: Fixed a bug where the SDK incorrectly detected placeholders in a PreparedStatement. The SDK now uses the syntax tree to determine placeholder positions, resolving incorrect placeholder detection.

v0.43.4-public

Enhancements

  • Tunnel: The connection timeout and query timeout periods can now be specified.

  • Tunnel: Resolved an issue where invalid Tunnel endpoints caused connection failures.

v0.43.3-public

New features

  • External volumes: External volumes can now be created through the SDK.

  • Antler: Upgraded the Antler version.

v0.37.10-public

New features

Resource files: Upload and download resource files between 500 MB and 2 GB.

v0.37.9-public

New features

Tunnel: Added the Arrow interface to TableTunnel.

Enhancements

  • Core: Optimized memory usage during resource downloads.

  • Tunnel:

    • Reconstructed the SQL DATE-related methods of ArrayRecord.

    • Added the overloading method createStreamUploadSession to TableTunnel.

  • MaxCompute Query Acceleration (MCQA): Added the following overloading methods to SQLExecutor: getTaskName, getSubqueryId, getResult, and getResultSet.

Bug fixes

  • Tunnel:

    • Fixed an issue in OdpsTypeTransformer where DATETIME type values in SQL statements were out of the valid time range.

    • Fixed an issue where TunnelBufferedWriter had high memory overhead.

  • MapReduce: Fixed an issue where ColumnBasedRecordComparator could throw ArrayOutOfBoundException.

Compatibility changes

Tunnel: The internal data type for the DATE type in ArrayRecord has changed from java.sql.Date to java.time.LocalDate.

v0.36.7-public

Enhancements

  • Tunnel: Added the TableTunnel.FlushResult#reset() interface so that StreamRecordPack instances can be reused.

  • MapReduce: When a MapReduce task is converted to an SQL task, multiple inputs are now merged for better performance.

  • SQLExecutor: Added the SQLExecutor#getSummary() interface.

v0.36.4-public

Enhancements

  • Core: Projects can now be iterated using filters. See Projects#iteratorByFilter(ProjectFilter filter) for details.

  • Tunnel:

    • A single field in a MaxCompute table cannot exceed 8 MB due to storage limits. Split fields larger than 8 MB into multiple fields.

    • Write timeout is now supported.

    • Partitions can be automatically created in StreamTunnel.

  • SQLExecutor:

    • Added a cache for the Tunnel endpoint.

    • Multiple execution results can now be downloaded concurrently.

Bug fixes