From 93b681614a9746ed7a78281bc035816d6b4b716f Mon Sep 17 00:00:00 2001 From: yunfengzhou-hub Date: Sun, 22 Sep 2024 10:56:41 +0800 Subject: [PATCH] modify in 1.19 after flink default to 1.20 --- .../streamrecord/RecordAttributes.java | 24 ------------------- .../streamrecord/RecordAttributes.java | 4 +--- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 paimon-flink/paimon-flink-1.19/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java diff --git a/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java b/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java deleted file mode 100644 index 854053cd6d613..0000000000000 --- a/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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.flink.streaming.runtime.streamrecord; - -/** Fake class, for compiling only, should never be used. */ -public class RecordAttributes extends StreamElement { - public static final RecordAttributes EMPTY_RECORD_ATTRIBUTES = new RecordAttributes(); -} diff --git a/paimon-flink/paimon-flink-cdc/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java b/paimon-flink/paimon-flink-cdc/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java index 854053cd6d613..496611d486623 100644 --- a/paimon-flink/paimon-flink-cdc/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java +++ b/paimon-flink/paimon-flink-cdc/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java @@ -19,6 +19,4 @@ package org.apache.flink.streaming.runtime.streamrecord; /** Fake class, for compiling only, should never be used. */ -public class RecordAttributes extends StreamElement { - public static final RecordAttributes EMPTY_RECORD_ATTRIBUTES = new RecordAttributes(); -} +public class RecordAttributes extends StreamElement {}