[bug](jdbc) fix jdbc external table with char type length error (#15386)

Now have test pg and oracle with char(100), if data='abc'
but read string data length is 100, so need trim extral spaces
This commit is contained in:
zhangstar333
2022-12-29 11:19:03 +08:00
committed by GitHub
parent 1f98dd2c74
commit 3146fc8189
8 changed files with 29 additions and 8 deletions

View File

@ -195,6 +195,7 @@ public class JdbcScanNode extends ScanNode {
msg.jdbc_scan_node.setTupleId(desc.getId().asInt());
msg.jdbc_scan_node.setTableName(tableName);
msg.jdbc_scan_node.setQueryString(getJdbcQueryStr());
msg.jdbc_scan_node.setTableType(jdbcType);
}
@Override