diff --git a/paimon-e2e-tests/src/test/resources/log4j2-test.properties b/paimon-e2e-tests/src/test/resources/log4j2-test.properties index 1b3980d151040..e27922dad60b7 100644 --- a/paimon-e2e-tests/src/test/resources/log4j2-test.properties +++ b/paimon-e2e-tests/src/test/resources/log4j2-test.properties @@ -18,7 +18,7 @@ # Set root logger level to OFF to not flood build logs # set manually to INFO for debugging purposes -rootLogger.level = OFF +rootLogger.level = INFO rootLogger.appenderRef.test.ref = TestLogger appender.testlogger.name = TestLogger diff --git a/paimon-flink/paimon-flink-1.19/pom.xml b/paimon-flink/paimon-flink-1.19/pom.xml index 301cb0a10a49f..625b84873786f 100644 --- a/paimon-flink/paimon-flink-1.19/pom.xml +++ b/paimon-flink/paimon-flink-1.19/pom.xml @@ -55,6 +55,13 @@ under the License. + + + org.apache.flink + flink-streaming-java + ${flink.version} + provided + diff --git a/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/ProcessRecordAttributesUtil.java b/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/ProcessRecordAttributesUtil.java new file mode 100644 index 0000000000000..04ce9d5d408d7 --- /dev/null +++ b/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/ProcessRecordAttributesUtil.java @@ -0,0 +1,31 @@ +/* + * 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; + +import org.apache.paimon.flink.sink.StoreSinkWrite; + +import org.apache.flink.streaming.api.operators.Output; +import org.apache.flink.streaming.runtime.streamrecord.RecordAttributes; + +/** Should never be used. */ +public class ProcessRecordAttributesUtil { + public static void processWithWrite(RecordAttributes recordAttributes, StoreSinkWrite write) {} + + public static void processWithOutput(RecordAttributes recordAttributes, Output output) {} +} 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 new file mode 100644 index 0000000000000..496611d486623 --- /dev/null +++ b/paimon-flink/paimon-flink-1.19/src/main/java/org/apache/flink/streaming/runtime/streamrecord/RecordAttributes.java @@ -0,0 +1,22 @@ +/* + * 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 {}