You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/05/21 12:45:45 UTC

[incubator-paimon] branch master updated: [license] Notice for flink-cdc-connectors and doris

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new ee5dbf70d [license] Notice for flink-cdc-connectors and doris
ee5dbf70d is described below

commit ee5dbf70d99684e6b6a7f79540a5f04c2cf0a406
Author: JingsongLi <lz...@aliyun.com>
AuthorDate: Sun May 21 20:43:35 2023 +0800

    [license] Notice for flink-cdc-connectors and doris
---
 LICENSE                                                     |  2 ++
 NOTICE                                                      | 10 ++++++++++
 .../action/cdc/mysql/MySqlDebeziumJsonEventParser.java      | 13 ++++++-------
 .../paimon/flink/action/cdc/mysql/MySqlTypeUtils.java       | 13 ++++++-------
 4 files changed, 24 insertions(+), 14 deletions(-)

diff --git a/LICENSE b/LICENSE
index 48c931558..e0f7b9630 100644
--- a/LICENSE
+++ b/LICENSE
@@ -213,6 +213,8 @@ paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreWriter.
 paimon-common/src/main/java/org/apache/paimon/lookup/hash/HashLookupStoreReader.java
 paimon-common/src/main/java/org/apache/paimon/utils/VarLengthIntUtils.java
 paimon-filesystems/paimon-s3-impl/src/main/java/com/amazonaws/services/s3/model/transform/XmlResponsesSaxParser.java
+paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlTypeUtils.java
+paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java
 
 
 MIT License
diff --git a/NOTICE b/NOTICE
index a1502d1e1..7516802b4 100644
--- a/NOTICE
+++ b/NOTICE
@@ -10,8 +10,18 @@ Copyright 2014-2023 The Apache Software Foundation
 Apache Hadoop
 Copyright 2006 and onwards The Apache Software Foundation.
 
+Apache Hadoop
+Copyright 2006 and onwards The Apache Software Foundation.
+
 PalDB
 Copyright 2015 LinkedIn Corp
 
 AWS SDK for Java
 Copyright 2010-2014 Amazon.com, Inc. or its affiliates
+
+flink-cdc-connectors
+Copyright 2022 Ververica Inc.
+Apache Flink, FlinkĀ®, ApacheĀ®, the squirrel logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.
+
+Apache Doris
+Copyright 2018-2022 The Apache Software Foundation
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java
index 2ba877d08..7c831f066 100644
--- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java
+++ b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java
@@ -16,6 +16,11 @@
  * limitations under the License.
  */
 
+/* This file is based on source code from JsonDebeziumSchemaSerializer in the Doris Project
+ * (https://doris.apache.org/), licensed by the Apache Software Foundation (ASF) under the
+ * Apache License, Version 2.0. See the NOTICE file distributed with this work for additional
+ *  information regarding copyright ownership. */
+
 package org.apache.paimon.flink.action.cdc.mysql;
 
 import org.apache.paimon.flink.sink.cdc.CdcRecord;
@@ -52,13 +57,7 @@ import java.util.Optional;
 
 import static org.apache.paimon.utils.Preconditions.checkArgument;
 
-/**
- * {@link EventParser} for MySQL Debezium JSON.
- *
- * <p>Some implementation is referenced from <a
- * href="https://github.com/apache/doris-flink-connector/blob/master/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/writer/JsonDebeziumSchemaSerializer.java">apache
- * / doris-flink-connector</a>.
- */
+/** {@link EventParser} for MySQL Debezium JSON. */
 public class MySqlDebeziumJsonEventParser implements EventParser<String> {
 
     private static final Logger LOG = LoggerFactory.getLogger(MySqlDebeziumJsonEventParser.class);
diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlTypeUtils.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlTypeUtils.java
index 48869c24a..c4471b032 100644
--- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlTypeUtils.java
+++ b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlTypeUtils.java
@@ -16,6 +16,11 @@
  * limitations under the License.
  */
 
+/* This file is based on source code from MySqlTypeUtils in the flink-cdc-connectors Project
+ * (https://ververica.github.io/flink-cdc-connectors/), licensed by the Apache Software Foundation (ASF)
+ * under the Apache License, Version 2.0. See the NOTICE file distributed with this work for
+ * additional information regarding copyright ownership. */
+
 package org.apache.paimon.flink.action.cdc.mysql;
 
 import org.apache.paimon.types.DataType;
@@ -25,13 +30,7 @@ import org.apache.paimon.utils.Preconditions;
 
 import javax.annotation.Nullable;
 
-/**
- * Converts from MySQL type to {@link DataType}.
- *
- * <p>Mostly referenced from <a
- * href="https://github.com/ververica/flink-cdc-connectors/blob/master/flink-connector-mysql-cdc/src/main/java/com/ververica/cdc/connectors/mysql/schema/MySqlTypeUtils.java">ververica
- * / flink-cdc-connectors</a>.
- */
+/** Converts from MySQL type to {@link DataType}. */
 public class MySqlTypeUtils {
 
     // ------ MySQL Type ------