You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by "ixtza (via GitHub)" <gi...@apache.org> on 2026/04/15 05:53:54 UTC
Re: [PR] [improve] Support schema table auto creation on struct record [doris-kafka-connector]
ixtza commented on code in PR #92:
URL: https://github.com/apache/doris-kafka-connector/pull/92#discussion_r3084273539
##########
src/main/java/org/apache/doris/kafka/connector/converter/RecordDescriptor.java:
##########
@@ -212,6 +256,15 @@ private void readSinkRecordNonKeyData(SinkRecord record, boolean flattened) {
}
}
+ private void readSinkRecordKeyData(SinkRecord record, boolean flattened) {
+ final Schema keySchema = record.keySchema();
+ if (keySchema != null) {
+ if (!flattened) {
+ applyKeyFields(keySchema.schema());
Review Comment:
Accepted!
--
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: dev-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org