gong commented on code in PR #7253:
URL: https://github.com/apache/inlong/pull/7253#discussion_r1093961974
##########
inlong-sort/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/TableMetricStatementExecutor.java:
##########
@@ -89,6 +89,9 @@ public void addToBatch(RowData record) {
@Override
public void executeBatch() throws SQLException {
+ for (RowData record : batch) {
+ LOG.debug("print batch:{}", record);
+ }
for (RowData record : batch) {
long rowSize =
record.toString().getBytes(StandardCharsets.UTF_8).length * 8L;
Review Comment:
Why to * 8
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]