diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/DorisSink.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/DorisSink.java index bc2d45c86..ec2b736cc 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/DorisSink.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/DorisSink.java @@ -22,7 +22,7 @@ import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.rest.RestService; import org.apache.doris.flink.sink.committer.DorisCommitter; -import org.apache.doris.flink.sink.writer.DorisRecordSerializer; +import org.apache.doris.flink.sink.writer.serializer.DorisRecordSerializer; import org.apache.doris.flink.sink.writer.DorisWriter; import org.apache.doris.flink.sink.writer.DorisWriterState; import org.apache.doris.flink.sink.writer.DorisWriterStateSerializer; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchSink.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchSink.java index 2c578d407..eea67b853 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchSink.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchSink.java @@ -20,7 +20,7 @@ import org.apache.doris.flink.cfg.DorisExecutionOptions; import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; -import org.apache.doris.flink.sink.writer.DorisRecordSerializer; +import org.apache.doris.flink.sink.writer.serializer.DorisRecordSerializer; import org.apache.flink.api.connector.sink2.Sink; import org.apache.flink.api.connector.sink2.SinkWriter; import org.apache.flink.util.Preconditions; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java index 4f171b65e..08a58cdf4 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java @@ -20,7 +20,7 @@ import org.apache.doris.flink.cfg.DorisExecutionOptions; import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; -import org.apache.doris.flink.sink.writer.DorisRecordSerializer; +import org.apache.doris.flink.sink.writer.serializer.DorisRecordSerializer; import org.apache.doris.flink.sink.writer.LabelGenerator; import org.apache.flink.api.connector.sink2.Sink; import org.apache.flink.api.connector.sink2.SinkWriter; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisWriter.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisWriter.java index 2ac10789e..cb330c3ab 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisWriter.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisWriter.java @@ -27,6 +27,7 @@ import org.apache.doris.flink.sink.BackendUtil; import org.apache.doris.flink.sink.DorisCommittable; import org.apache.doris.flink.sink.HttpUtil; +import org.apache.doris.flink.sink.writer.serializer.DorisRecordSerializer; import org.apache.flink.annotation.VisibleForTesting; import org.apache.flink.api.connector.sink2.Sink; import org.apache.flink.api.connector.sink2.StatefulSink; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SchemaChangeHelper.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SchemaChangeHelper.java index 8e6307b5f..c1380c7db 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SchemaChangeHelper.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SchemaChangeHelper.java @@ -109,7 +109,7 @@ public static List getDdlSchemas() { return ddlSchemas; } - static class DDLSchema { + public static class DDLSchema { private final String columnName; private final boolean isDropColumn; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisRecordSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/DorisRecordSerializer.java similarity index 95% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisRecordSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/DorisRecordSerializer.java index 1c54c6b88..aa2b63dac 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/DorisRecordSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/DorisRecordSerializer.java @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -package org.apache.doris.flink.sink.writer; +package org.apache.doris.flink.sink.writer.serializer; import org.apache.flink.api.java.tuple.Tuple2; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/JsonDebeziumSchemaSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/JsonDebeziumSchemaSerializer.java similarity index 99% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/JsonDebeziumSchemaSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/JsonDebeziumSchemaSerializer.java index e55f2a6c9..2171e842e 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/JsonDebeziumSchemaSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/JsonDebeziumSchemaSerializer.java @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -package org.apache.doris.flink.sink.writer; +package org.apache.doris.flink.sink.writer.serializer; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; @@ -33,6 +33,7 @@ import org.apache.doris.flink.exception.IllegalArgumentException; import org.apache.doris.flink.rest.RestService; import org.apache.doris.flink.sink.HttpGetWithEntity; +import org.apache.doris.flink.sink.writer.SchemaChangeHelper; import org.apache.doris.flink.sink.writer.SchemaChangeHelper.DDLSchema; import org.apache.doris.flink.tools.cdc.SourceConnector; import org.apache.doris.flink.tools.cdc.mysql.MysqlType; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RecordWithMetaSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RecordWithMetaSerializer.java similarity index 55% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RecordWithMetaSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RecordWithMetaSerializer.java index 48182def4..21608a737 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RecordWithMetaSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RecordWithMetaSerializer.java @@ -1,4 +1,21 @@ -package org.apache.doris.flink.sink.writer; +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +package org.apache.doris.flink.sink.writer.serializer; import org.apache.commons.lang3.StringUtils; import org.apache.doris.flink.sink.batch.RecordWithMeta; @@ -9,7 +26,7 @@ import java.io.IOException; import java.nio.charset.StandardCharsets; -public class RecordWithMetaSerializer implements DorisRecordSerializer{ +public class RecordWithMetaSerializer implements DorisRecordSerializer { private static final Logger LOG = LoggerFactory.getLogger(RecordWithMetaSerializer.class); @Override diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowDataSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowDataSerializer.java similarity index 99% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowDataSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowDataSerializer.java index 087362e13..d29830e7d 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowDataSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowDataSerializer.java @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -package org.apache.doris.flink.sink.writer; +package org.apache.doris.flink.sink.writer.serializer; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.doris.flink.deserialization.converter.DorisRowConverter; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowSerializer.java similarity index 98% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowSerializer.java index 86cad2642..3a0e61081 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/RowSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/RowSerializer.java @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -package org.apache.doris.flink.sink.writer; +package org.apache.doris.flink.sink.writer.serializer; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.table.api.DataTypes; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SimpleStringSerializer.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/SimpleStringSerializer.java similarity index 95% rename from flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SimpleStringSerializer.java rename to flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/SimpleStringSerializer.java index 682204dab..206e641ba 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/SimpleStringSerializer.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/serializer/SimpleStringSerializer.java @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -package org.apache.doris.flink.sink.writer; +package org.apache.doris.flink.sink.writer.serializer; import org.apache.flink.api.java.tuple.Tuple2; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/table/DorisDynamicTableSink.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/table/DorisDynamicTableSink.java index 66d0227ba..a961c3c58 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/table/DorisDynamicTableSink.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/table/DorisDynamicTableSink.java @@ -23,7 +23,7 @@ import org.apache.doris.flink.rest.RestService; import org.apache.doris.flink.sink.DorisSink; import org.apache.doris.flink.sink.batch.DorisBatchSink; -import org.apache.doris.flink.sink.writer.RowDataSerializer; +import org.apache.doris.flink.sink.writer.serializer.RowDataSerializer; import org.apache.flink.table.api.TableSchema; import org.apache.flink.table.connector.ChangelogMode; import org.apache.flink.table.connector.sink.DynamicTableSink; diff --git a/flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java b/flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java index 99c45ebe5..f1579b093 100644 --- a/flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java +++ b/flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/DatabaseSync.java @@ -23,7 +23,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.DorisSink; -import org.apache.doris.flink.sink.writer.JsonDebeziumSchemaSerializer; +import org.apache.doris.flink.sink.writer.serializer.JsonDebeziumSchemaSerializer; import org.apache.doris.flink.table.DorisConfigOptions; import org.apache.doris.flink.tools.cdc.mysql.ParsingProcessFunction; import org.apache.flink.configuration.Configuration; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/CDCSchemaChangeExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/CDCSchemaChangeExample.java index 62578d34f..2f491e26b 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/CDCSchemaChangeExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/CDCSchemaChangeExample.java @@ -25,7 +25,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.DorisSink; -import org.apache.doris.flink.sink.writer.JsonDebeziumSchemaSerializer; +import org.apache.doris.flink.sink.writer.serializer.JsonDebeziumSchemaSerializer; import org.apache.doris.flink.utils.DateToStringConverter; import org.apache.flink.api.common.eventtime.WatermarkStrategy; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisIntranetAccessSinkExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisIntranetAccessSinkExample.java index 61ad1dd09..b044b507c 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisIntranetAccessSinkExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisIntranetAccessSinkExample.java @@ -21,7 +21,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.DorisSink; -import org.apache.doris.flink.sink.writer.SimpleStringSerializer; +import org.apache.doris.flink.sink.writer.serializer.SimpleStringSerializer; import org.apache.flink.api.common.RuntimeExecutionMode; import org.apache.flink.api.common.functions.MapFunction; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkBatchExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkBatchExample.java index 4a04d784b..0efcb4e20 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkBatchExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkBatchExample.java @@ -20,7 +20,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.batch.DorisBatchSink; -import org.apache.doris.flink.sink.writer.SimpleStringSerializer; +import org.apache.doris.flink.sink.writer.serializer.SimpleStringSerializer; import org.apache.flink.streaming.api.datastream.DataStreamSource; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import org.apache.flink.streaming.api.functions.source.SourceFunction; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExample.java index 9c459b730..7bc830217 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExample.java @@ -20,7 +20,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.DorisSink; -import org.apache.doris.flink.sink.writer.SimpleStringSerializer; +import org.apache.doris.flink.sink.writer.serializer.SimpleStringSerializer; import org.apache.flink.api.common.RuntimeExecutionMode; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.restartstrategy.RestartStrategies; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExampleRowData.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExampleRowData.java index 79d36c519..cd4a6f523 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExampleRowData.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkExampleRowData.java @@ -20,7 +20,7 @@ import org.apache.doris.flink.cfg.DorisOptions; import org.apache.doris.flink.sink.DorisSink; import org.apache.doris.flink.sink.writer.LoadConstants; -import org.apache.doris.flink.sink.writer.RowDataSerializer; +import org.apache.doris.flink.sink.writer.serializer.RowDataSerializer; import org.apache.flink.api.common.RuntimeExecutionMode; import org.apache.flink.api.common.functions.FlatMapFunction; import org.apache.flink.api.common.restartstrategy.RestartStrategies; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkMultiTableExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkMultiTableExample.java index 3af014a27..bc9861cc4 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkMultiTableExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkMultiTableExample.java @@ -21,7 +21,7 @@ import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.batch.DorisBatchSink; import org.apache.doris.flink.sink.batch.RecordWithMeta; -import org.apache.doris.flink.sink.writer.RecordWithMetaSerializer; +import org.apache.doris.flink.sink.writer.serializer.RecordWithMetaSerializer; import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment; import org.apache.flink.streaming.api.functions.source.SourceFunction; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkStreamMultiTableExample.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkStreamMultiTableExample.java index 2a57b8af5..4d54f4eef 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkStreamMultiTableExample.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisSinkStreamMultiTableExample.java @@ -21,7 +21,7 @@ import org.apache.doris.flink.cfg.DorisReadOptions; import org.apache.doris.flink.sink.DorisSink; import org.apache.doris.flink.sink.batch.RecordWithMeta; -import org.apache.doris.flink.sink.writer.RecordWithMetaSerializer; +import org.apache.doris.flink.sink.writer.serializer.RecordWithMetaSerializer; import org.apache.flink.api.common.restartstrategy.RestartStrategies; import org.apache.flink.api.common.time.Time; import org.apache.flink.configuration.Configuration; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/deserialization/convert/DorisRowConverterTest.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/deserialization/convert/DorisRowConverterTest.java index 41f4886fb..d43338419 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/deserialization/convert/DorisRowConverterTest.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/deserialization/convert/DorisRowConverterTest.java @@ -17,8 +17,8 @@ package org.apache.doris.flink.deserialization.convert; import org.apache.doris.flink.deserialization.converter.DorisRowConverter; -import org.apache.doris.flink.sink.writer.RowDataSerializer; -import org.apache.doris.flink.sink.writer.RowDataSerializer.Builder; +import org.apache.doris.flink.sink.writer.serializer.RowDataSerializer; +import org.apache.doris.flink.sink.writer.serializer.RowDataSerializer.Builder; import org.apache.flink.table.api.DataTypes; import org.apache.flink.table.catalog.Column; import org.apache.flink.table.catalog.ResolvedSchema; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestDorisWriter.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestDorisWriter.java index 36f98c89a..a4fb64ecc 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestDorisWriter.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestDorisWriter.java @@ -23,6 +23,7 @@ import org.apache.doris.flink.sink.DorisCommittable; import org.apache.doris.flink.sink.HttpTestUtil; import org.apache.doris.flink.sink.OptionUtils; +import org.apache.doris.flink.sink.writer.serializer.SimpleStringSerializer; import org.apache.flink.api.connector.sink2.Sink; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.impl.client.CloseableHttpClient; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestJsonDebeziumSchemaSerializer.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestJsonDebeziumSchemaSerializer.java index e10a22c7e..f1e072e0a 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestJsonDebeziumSchemaSerializer.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestJsonDebeziumSchemaSerializer.java @@ -31,6 +31,7 @@ import org.apache.doris.flink.rest.models.Schema; import org.apache.commons.collections.CollectionUtils; +import org.apache.doris.flink.sink.writer.serializer.JsonDebeziumSchemaSerializer; import org.apache.flink.shaded.guava30.com.google.common.collect.Maps; import org.junit.Assert; import org.junit.BeforeClass; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowDataSerializer.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowDataSerializer.java index 651f701c3..6769a72fa 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowDataSerializer.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowDataSerializer.java @@ -17,6 +17,7 @@ package org.apache.doris.flink.sink.writer; +import org.apache.doris.flink.sink.writer.serializer.RowDataSerializer; import org.apache.flink.table.types.DataType; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowSerializer.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowSerializer.java index d219e157b..4dfe26501 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowSerializer.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/writer/TestRowSerializer.java @@ -19,6 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.doris.flink.sink.writer.serializer.RowSerializer; import org.apache.flink.table.api.DataTypes; import org.apache.flink.table.types.DataType; import org.apache.flink.types.Row;