Skip to content

v0.51.2-public

Latest
Compare
Choose a tag to compare
@idleyui idleyui released this 20 Dec 07:02

[0.51.2-public] - 2024-12-20

Features

  • Authorization Introduced the credential-java authorization package, now supporting authentication with AlibabaCloudCredentialsProvider.
  • StreamUploadSession Added awareness for Slot updates and automatic retry logic.
  • table-api Introduced the TableRetryHandler class, adding retry logic to the table-api.
  • udf The InputSplitter now includes the method setLimit.

Changes

  • TypeInfo The StructTypeInfo class now includes the method getTypeName(boolean quote). In version 0.51.0-public (rc0), StructTypeInfo defaulted to quoting field names with backticks. We suspect that this change may affect users, so we decided to revert to the original behavior (not quoting by default). Users can now call getTypeName(true) when quoting is needed.

Fixes

  • TypeInfo Field names will now be correctly escaped when quoted with backticks.
  • MCQA2 Fixed an issue where the getRawTaskResults interface call in MCQA2 jobs could not retrieve results.

[0.51.2-public] - 2024-12-20

功能

  • Authorization 引入credential-java鉴权包,现在能够使用AlibabaCloudCredentialsProvider进行鉴权
  • StreamUploadSession 新增对 Slot 更新的感知和自动重试逻辑
  • table-api 引入TableRetryHandler类,为table-api添加重试逻辑
  • udfInputSplitter新增方法 setLimit

变更

  • TypeInfo StructTypeInfo 新增方法 getTypeName(boolean quote),在 0.51.0-public (rc0) 版本,StructTypeInfo 默认会对字段名使用反引号进行 quote,我们怀疑这项变更对用户有影响,因此决定恢复原行为(默认不进行quote)
    而是当用户需要 quote 时,可以调用 getTypeName(true)

修复

  • TypeInfo 当对字段使用反引号进行 quote 时,现在会正确对字段名进行转义
  • MCQA2 修复了 MCQA2 作业调用 getRawTaskResults 接口取不到结果的问题