You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/06/18 02:36:06 UTC
[zeppelin] branch branch-0.9 updated: [hotfix] use proper row
equals for flink 1.11
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 <zj...@apache.org>
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;