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:35:27 UTC

[zeppelin] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new cfb64a7  [hotfix] use proper row equals for flink 1.11
cfb64a7 is described below

commit cfb64a7c9329075b8a89b7230bae8abf66b9a9de
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;