v0.48.7-public
·
9 commits
to release/0.48.x
since this release
Changelog
[0.48.7-public] - 2024-08-07
Enhancements
- TableTunnel Configuration Optimization: Introduced the
tagsattribute toTableTunnel Configuration, enabling users to attach custom tags to tunnel operations for enhanced logging and management. These tags are recorded in the tenant-levelinformation 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
waitForTerminatedAndGetResultmethod to theInstanceclass, integrating optimization strategies from versions 0.48.6 and 0.48.7 for theSQLExecutorinterface, enhancing operational efficiency. Refer tocom.aliyun.odps.sqa.SQLExecutorImpl.getOfflineResultSetfor 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
getRetryPolicymethod when the error code (error code) wasnull.
更新日志
[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
的情况下潜在空指针异常问题。