Skip to content

v0.48.7-public

Choose a tag to compare

@idleyui idleyui released this 07 Aug 02:54
· 9 commits to release/0.48.x since this release

Changelog

[0.48.7-public] - 2024-08-07

Enhancements

  • TableTunnel Configuration Optimization: Introduced the tags attribute to TableTunnel Configuration, enabling users to attach custom tags to tunnel operations for enhanced logging and management. These tags are recorded in the tenant-level information schema.
Odps odps;
Configuration configuration =
    Configuration.builder(odps)
                 .withTags(Arrays.asList("tag1", "tag2")) // Utilize Arrays.asList for code standardization
                 .build();
TableTunnel tableTunnel = odps.tableTunnel(configuration);
// Proceed with tunnel operations
  • Instance Enhancement: Added the waitForTerminatedAndGetResult method to the Instance class, integrating optimization strategies from versions 0.48.6 and 0.48.7 for the SQLExecutor interface, enhancing operational efficiency. Refer to com.aliyun.odps.sqa.SQLExecutorImpl.getOfflineResultSet for usage.

Improve

  • SQLExecutor Offline Job Processing Optimization: Significantly reduced end-to-end latency by enabling immediate result retrieval after critical processing stages of offline jobs executed by SQLExecutor, without waiting for the job to fully complete, thus boosting response speed and resource utilization.

Fixes

  • TunnelRetryHandler NPE Fix: Rectified a potential null pointer exception issue in the getRetryPolicy method when the error code (error code) was null.

更新日志

[0.48.7-public] - 2024-08-07

增强

  • TableTunnel 配置优化:引入 tags 属性至 TableTunnel Configuration
    ,旨在允许用户为Tunnel相关操作附上自定义标签。这些标签会被记录在租户层级的 information schema
    中,便于日志追踪与管理。
Odps odps;
    Configuration configuration=
    Configuration.builder(odps)
    .withTags(Arrays.asList("tag1","tag2")) 
    .build();
    TableTunnel tableTunnel=odps.tableTunnel(configuration);
// 继续执行Tunnel相关操作
  • Instance 增强:在 Instance 类中新增 waitForTerminatedAndGetResult 方法,此方法整合了 0.48.6
    及 0.48.7 版本中对 SQLExecutor
    接口的优化策略,提升了操作效率。使用方式可参考 com.aliyun.odps.sqa.SQLExecutorImpl.getOfflineResultSet
    方法。

优化

  • SQLExecutor 离线作业处理优化:显著减少了端到端延迟,通过改进使得由 SQLExecutor
    执行的离线作业能在关键处理阶段完成后即刻获取结果,无需等待作业全部完成,提高了响应速度和资源利用率。

修复

  • TunnelRetryHandler NPE修复:修正了 getRetryPolicy 方法中在错误码 (error code) 为 null
    的情况下潜在空指针异常问题。