v0.49.0-public
Changelog
[0.49.0-public] - 2024-09-12
Features
-
OdpsRecordConverter Enhancement: Now supports converting data to SQL-compatible formats. For
example, for theLocalDatetype, data can be converted to"DATE 'yyyy-mm-dd'"format.
Additionally, for theBinarytype, hex representation format is now supported. -
Enhanced Predicate Pushdown for Storage Constants: Improved the behavior of the
Constant
class and added theConstant.of(Object, TypeInfo)method. Now, when setting or identifying types
as time types, the conversion to SQL-compatible format can be done correctly (enabling correct
pushdown of time types). Other type conversion issues have been fixed;
anIllegalArgumentExceptionwill be thrown during session creation when conversion to
SQL-compatible mode is not possible. -
UpsertSession Implements Closable Interface: Notifies users to properly release local
resources of the UpsertSession. -
SQLExecutorBuilder New Method
offlineJobPriority: Allows setting the priority of offline
jobs when a job rolls back. -
New Method in Table Class
getLastMajorCompactTime: Used to retrieve the last time the table
underwent major compaction. -
New Method in Instance Class
create(Job job, boolean tryWait): When thetryWaitparameter
is true, the job will attempt to wait on the server for a period of time to obtain results more
quickly. -
Resource Class Enhancement: Now able to determine if the corresponding resource is a temporary
resource. -
CreateProjectParma class enhancement Added
defaultCtrlServiceparameter to specify the default control cluster of the project.
Fixes
-
UpsertStream NPE Fix: Fixed an issue where an NPE was thrown during flush when a local error
occurred, preventing a proper retry. -
Varchar/Char type fix: Fixed the problem that when the
Varchar/Chartype obtains its length
and encounters special characters such as Chinese symbols or emoticons, it will be incorrectly
calculated twice.
更新日志
[0.49.0-public] - 2024-09-12
功能
-
OdpsRecordConverter 功能增强:现在支持将数据转换为 SQL 兼容格式,比如对于
LocalDate
类型,数据可以转换为"DATE 'yyyy-mm-dd'"格式。同时对于Binary类型,现在支持了 hex 表示格式。 -
开放存储谓词下推常量增强:改进了
Constant类行为,新增了Constant.of(Object, TypeInfo)
方法。现在当设定或识别出类型为时间类型时,可以正确转变为 SQL
兼容格式(也就是可以正确下推时间类型了)。同时修复了一些其他类型的问题,当无法转换成 SQL
兼容模式时,会在创建Session的时候抛出IllegalArgumentException。 -
UpsertSession 实现 Closable 方法:提醒用户应当正确释放 UpsertSession 的本地资源。
-
SQLExecutorBuilder 新增方法
offlineJobPriority:用来设置当作业发生回退时,离线作业的优先级。 -
Table 类新增方法
getLastMajorCompactTime:用来获取表最后一次 major compact 的时间。 -
Instance 类新增方法
create(Job job, boolean tryWait):当用户执行tryWait为true
时,作业会尝试在服务端等待一段时间,以更快获取结果。 -
Resource 类增强:现在能够判断对应的资源是否属于临时资源。
-
CreateProjectParma 类增强 新增
defaultCtrlService参数,用来指定项目的默认控制集群。
修复
-
UpsertStream NPE 修复:修复了在 flush 时,当发生本地错误时抛出 NPE 而无法正确重试的问题。
-
Varchar/Char 类型修复:修复了
Varchar/Char类型获取其长度时,当遇到中文符号或表情等特殊字符,会错误的计算两次的问题。