You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2019/10/30 07:22:05 UTC

[flink] branch release-1.8 updated: [hotfix][FLINK-14398][table-planner] Remove parentheses for Types.INT in SqlITCase

This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.8 by this push:
     new e1e7226  [hotfix][FLINK-14398][table-planner] Remove parentheses for Types.INT in SqlITCase
e1e7226 is described below

commit e1e722663c00fcd76435fd0ff4eb99e89620c861
Author: Jark Wu <im...@gmail.com>
AuthorDate: Wed Oct 30 14:52:49 2019 +0800

    [hotfix][FLINK-14398][table-planner] Remove parentheses for Types.INT in SqlITCase
---
 .../scala/org/apache/flink/table/runtime/stream/sql/SqlITCase.scala     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/runtime/stream/sql/SqlITCase.scala b/flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/runtime/stream/sql/SqlITCase.scala
index 44e9ead..8d3fda8 100644
--- a/flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/runtime/stream/sql/SqlITCase.scala
+++ b/flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/runtime/stream/sql/SqlITCase.scala
@@ -889,7 +889,7 @@ class SqlITCase extends StreamingWithStateTestBase {
     val fieldNames = new ArrayBuffer[String]()
     rowData.foreach { i =>
       row.setField(i, i)
-      fieldTypes += Types.INT()
+      fieldTypes += Types.INT
       fieldNames += s"f$i"
     }