goutamadwant commented on code in PR #13589:
URL: https://github.com/apache/seatunnel/pull/13589#discussion_r4731515398
##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/converter/AbstractJdbcRowConverter.java:
##########
@@ -202,28 +212,27 @@ public PreparedStatement toExternal(
SeaTunnelRow row,
PreparedStatement statement)
throws SQLException {
- SeaTunnelRowType rowType = tableSchema.toPhysicalRowDataType();
+ WriteMetadata metadata = writeMetadata;
+ if (metadata == null
Review Comment:
Optional: `InsertOrUpdateBatchStatementExecutor` in upsert-by-query mode
binds the key schema and then the value schema on the same converter for every
row, so this single entry never hits and is rebuilt on each call. Would a
second entry, or a separate converter for the key binding, be worth it?
--
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]