You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sargentti
changed the title
JDBC引擎查询的结果集与读取结果文件的记录数不一致
JDBC引擎查询的结果集与读取结果文件的记录数不一致(The result set queried by the JDBC engine is inconsistent with the number of records read from the result file)
Feb 9, 2022
Describe the bug
使用jdbc引擎查询数据库返回的结果集为5000条记录,而通过接口获取结果集文件转换成数组返回给前端时变成只有3500多条,读到3500多条时候接口就提示数据读取完毕.
2020-05-10 20:03:23,477 INFO (Engine-Scheduler-ThreadPool-53) INFO JDBCEngineExecutor - 正常输出数据量:5000
2020-05-10 20:03:24,373 INFO (Engine-Scheduler-ThreadPool-53) INFO StorageResultSetWriter - Succeed to create a new file:FsPath{path=/tmp/linkis/admin/dwc/20200510/UJESCl
ient-TestBBB/962/0.dolphin; isDirectory=false; length=0; modification_time=0; access_time=0; owner=null; group=null; permission=null}2020-05-10 20:03:24,607 INFO (Engine-Scheduler-ThreadPool-53) INFO JDBCEngineExecutor - 查询的数据集记录数1: 5000
2020-05-10 20:03:24,607 INFO (Engine-Scheduler-ThreadPool-53) INFO JDBCEngineExecutor - sql execute completed
2020-05-10 20:03:24,608 INFO (Engine-Scheduler-ThreadPool-53) INFO JDBCEntranceJob - UJESClient-TestBBB_admin_51 change state Running => Succeed.
而通过获取结果集接口得到的不是5000条记录。
2020-05-10 20:03:30.620 INFO [qtp773165334-25] com.webank.wedatasphere.linkis.storage.resultset.StorageResultSetReader 42 info - Read finished(读取完毕,3556)DWCException{
errCode=51000, desc='10--读取整数失败--', ip='node07', port=29102, serviceKind='cloud-publicservice'}----errCode: 51000 ,desc: 10--读取整数失败-- ,ip: node07 ,port: 29102 ,serviceKind: cloud-publicservice
The text was updated successfully, but these errors were encountered: