v0.50.4-public
·
5 commits
to release/0.50.x
since this release
Changelog
[0.50.4-public] - 2024-10-29
Features
- PartitionSpec Added a new constructor
(String, boolean)that uses a boolean parameter to specify whether to trim partition values. This caters to scenarios (such as using char type as a partition field) where users may not want to trim partition values.
Changes
- Instance The OdpsException thrown when calling the stop method will no longer be wrapped a second time.
Fixes
- SQLExecutor
- Fixed an issue in MCQA 1.0 mode where the user-specified
fallbackPolicy.isFallback4AttachErrordid not take effect correctly. - Fixed an issue in MCQA 2.0 mode where the
cancelmethod threw an exception when the job failed. - Fixed an issue in MCQA 2.0 mode where using instanceTunnel to fetch results resulted in an error when the isSelect check was incorrect.
- Fixed an issue in MCQA 1.0 mode where the user-specified
- Table Fixed an issue with the
getPartitionSpecsmethod that trimmed partition values, causing the retrieval of non-existing partitions.
更新日志
[0.50.4-public] - 2024-10-29
功能
- PartitionSpec 新增
(String, boolean)构造方法,通过布尔参数指定是否对分区值进行trim操作,以满足某些场景(如使用char类型作为分区字段)用户不希望trim的需求。
变更
- Instance 在调用stop方法时,抛出的OdpsException将不再被二次包装。
修复
- SQLExecutor
- 修复了在MCQA 1.0模式下,用户指定
fallbackPolicy.isFallback4AttachError时未正确生效的问题。 - 修复了在MCQA 2.0模式下,作业失败时
cancel方法抛出异常的问题。 - 修复了在MCQA 2.0模式下,当isSelect判断错误时,通过instanceTunnel取结果报错的问题。
- 修复了在MCQA 1.0模式下,用户指定
- Table 修复了
getPartitionSpecs方法会trim分区值,导致无法获取存在的分区的问题。