linguoxuan commented on code in PR #4425:
URL: https://github.com/apache/flink-cdc/pull/4425#discussion_r3643259047
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-starrocks/src/main/java/org/apache/flink/cdc/connectors/starrocks/sink/StarRocksUtils.java:
##########
@@ -108,7 +110,7 @@ public static StarRocksTable toStarRocksTable(
.setTableKeys(schema.primaryKeys())
// use primary keys as distribution keys by default
.setDistributionKeys(schema.primaryKeys())
- .setComment(schema.comment());
+ .setComment(escapeSqlStringLiteral(schema.comment()));
Review Comment:
just revert.
--
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]