v0.50.0-public
·
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 usingStreamUploadSessionif 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
allowSchemaMismatchmethod 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
tunnelEndpointin 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 问题。