This is an automated email from the ASF dual-hosted git repository. twalthr 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 36cc34f [hotfix][table-api] Update wrong null literal hint 36cc34f is described below commit 36cc34ff818bdf71741d0056f995aba4609ddaa0 Author: Timo Walther <twal...@apache.org> AuthorDate: Mon Mar 11 14:24:31 2019 +0100 [hotfix][table-api] Update wrong null literal hint --- .../main/scala/org/apache/flink/table/plan/logical/LogicalNode.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/logical/LogicalNode.scala b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/logical/LogicalNode.scala index b17d5a3..be6c1ca 100644 --- a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/logical/LogicalNode.scala +++ b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/logical/LogicalNode.scala @@ -87,8 +87,8 @@ abstract class LogicalNode extends TreeNode[LogicalNode] { // give helpful error message for null literals if (a.name == "null") { failValidation(s"Cannot resolve field [${a.name}] given input [$from]. If you want to " + - s"express a null literal, use 'Null(TYPE)' for typed null expressions. " + - s"For example: Null(INT)") + s"express a null literal, use 'nullOf(TYPE)' for typed null expressions. " + + s"For example: nullOf(INT)") } else { failValidation(s"Cannot resolve field [${a.name}] given input [$from].") }