openinx opened a new pull request #3434: URL: https://github.com/apache/iceberg/pull/3434
Addressing the issue: https://github.com/apache/iceberg/issues/3433 There are following sub-issues that we need to address: 1. The apache flink has removed the blink module and made it as the default planner, so we don't need to add the `org.apache.flink:flink-table-planner-blink_2.12` explicitly in the dependencies. 2. There are following build issues when build the `./gradlew -DflinkVersions=1.14 :iceberg-flink:iceberg-flink-1.14:build`: ``` > Task :iceberg-flink:iceberg-flink-1.14:compileJava /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:32: error: cannot find symbol import org.apache.flink.streaming.api.operators.MailboxExecutor; ^ symbol: class MailboxExecutor location: package org.apache.flink.streaming.api.operators /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:65: error: cannot find symbol private final MailboxExecutor executor; ^ symbol: class MailboxExecutor location: class StreamingReaderOperator /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:80: error: cannot find symbol MailboxExecutor mailboxExecutor) { ^ symbol: class MailboxExecutor location: class StreamingReaderOperator /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:208: error: cannot find symbol private transient MailboxExecutor mailboxExecutor; ^ symbol: class MailboxExecutor location: class OperatorFactory /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:215: error: cannot find symbol public void setMailboxExecutor(MailboxExecutor mailboxExecutor) { ^ symbol: class MailboxExecutor location: class OperatorFactory /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:113: error: cannot find symbol getContainingTask().getStreamStatusMaintainer(), ^ symbol: method getStreamStatusMaintainer() location: class StreamTask<CAP#1,CAP#2> where CAP#1,CAP#2 are fresh type-variables: CAP#1 extends Object from capture of ? CAP#2 extends StreamOperator<CAP#1> from capture of ? /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:171: error: method does not override or implement a method from a supertype @Override ^ /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/source/StreamingReaderOperator.java:173: error: cannot find symbol super.dispose(); ^ symbol: method dispose() /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/sink/IcebergFilesCommitter.java:347: error: method does not override or implement a method from a supertype @Override ^ /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/sink/IcebergStreamWriter.java:75: error: method does not override or implement a method from a supertype @Override ^ /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/sink/IcebergStreamWriter.java:77: error: cannot find symbol super.dispose(); ^ symbol: method dispose() Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/openinx/software/apache-iceberg/flink/src/main/java/org/apache/iceberg/flink/data/RowDataUtil.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 11 errors ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
