Skip to content

v0.48.3-public

Choose a tag to compare

@idleyui idleyui released this 21 May 08:03
· 2 commits to master since this release

Changelog

[0.48.3-public] - 2024-05-21

Added

  • Support for passing retryStrategy when building UpsertSession.

Changed

  • The onFlushFail(String, int) interface in UpsertStream.Listener has been marked as @Deprecated in favor of onFlushFail(Throwable, int) interface. This interface will be removed in version 0.50.0.
  • Default compression algorithm for Tunnel upsert has been changed to ODPS_LZ4_FRAME.

Fixed

  • Fixed an issue where data couldn't be written correctly in Tunnel upsert when the compression algorithm was set to something other than ZLIB.
  • Fixed a resource leak in UpsertSession that could persist for a long time if close was not explicitly called by the user.
  • Fixed an exception thrown by Tunnel data retrieval interfaces (preview, download) when encountering invalid Decimal types (such as inf, nan) in tables; will now return null to align with the getResult interface.

更新日志

[0.48.3-public] - 2024-05-21

新增

  • 在构建UpsertSession时,现在支持传入 retryStrategy

变更

  • UpsertStream.ListeneronFlushFail(String, int) 接口被标记为了 @Deprecated,使用 onFlushFail(Throwable, int) 接口替代。该接口将在 0.50.0 版本中移除。
  • Tunnel upsert 的默认压缩算法更改为 ODPS_LZ4_FRAME

修复

  • 修复了 Tunnel upsert 当压缩算法不为 ZLIB 时,数据无法正确写入的问题。
  • 修复了 UpsertSession 当用户未显式调用 close 时,资源长时间无法释放的问题。
  • 修复了 Tunnel 获取数据相关接口(previewdownload),当遇到表内存在不合法 Decimal 类型时(如 infnan),会抛出异常的问题,现在会返回 null(与 getResult 接口一致)。