This is an automated email from the ASF dual-hosted git repository.
zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 55b7bad [hotfix] use proper row equals for flink 1.11
55b7bad is described below
commit 55b7bad0b3fd7634258bd211c90eb153e4299d42
Author: Jeff Zhang <[email protected]>
AuthorDate: Thu Jun 18 10:34:03 2020 +0800
[hotfix] use proper row equals for flink 1.11
---
.../src/main/java/org/apache/zeppelin/flink/sql/UpdateStreamSqlJob.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/flink/interpreter/src/main/java/org/apache/zeppelin/flink/sql/UpdateStreamSqlJob.java
b/flink/interpreter/src/main/java/org/apache/zeppelin/flink/sql/UpdateStreamSqlJob.java
index 805afee..dc1ecc7 100644
---
a/flink/interpreter/src/main/java/org/apache/zeppelin/flink/sql/UpdateStreamSqlJob.java
+++
b/flink/interpreter/src/main/java/org/apache/zeppelin/flink/sql/UpdateStreamSqlJob.java
@@ -65,7 +65,7 @@ public class UpdateStreamSqlJob extends AbstractStreamSqlJob {
enableToRefresh = false;
LOGGER.debug("processDelete: " + row.toString());
for (int i = 0; i < materializedTable.size(); i++) {
- if (materializedTable.get(i).equals(row)) {
+ if (flinkShims.rowEquals(materializedTable.get(i), row)) {
LOGGER.debug("real processDelete: " + row.toString());
materializedTable.remove(i);
break;