v0.50.0-public
idleyui
released this
09 Oct 07:36
·
20 commits
to release/0.50.x
since this release
[0.50.0-public] - 2024-10-09
Features
- Added
SchemaMismatchException
: This exception will be thrown when usingStreamUploadSession
if the Record structure uploaded by the user does not match the table structure. This exception will additionally carry the latest schema version to assist users in rebuilding the Session and performing retry operations. - Added
allowSchemaMismatch
method inStreamUploadSession.Builder
: This method specifies whether to tolerate mismatches between the user's uploaded Record structure and the table structure without throwing an exception. The default value istrue
.
Fixes
- Fixed an issue where specifying
tunnelEndpoint
in Odps was ineffective when usingStreamUploadSession
. - Fixed a potential NPE issue in
TunnelRetryHandler
.
[0.50.0-public] - 2024-10-09
功能
- 新增
SchemaMismatchException
异常:当使用StreamUploadSession
时,如果用户上传的 Record 结构与表结构不匹配,将抛出该异常。此异常将额外携带最新的 schema version,方便用户重建 Session 并进行重试操作。 - 在
StreamUploadSession.Builder
中新增allowSchemaMismatch
方法,用于指定是否容忍用户上传的 Record 结构与表结构不匹配时是否抛出异常。默认值为true
。
修复
- 修复了在 Odps 中指定
tunnelEndpoint
时,使用StreamUploadSession
无法生效的问题。 - 修复了
TunnelRetryHandler
潜在的 NPE 问题。