This is an automated email from the ASF dual-hosted git repository. twalthr pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new dbc6b18 [hotfix][table-api] Update wrong null literal hint dbc6b18 is described below commit dbc6b187b7ed2e0eec1ab48ff68556d3ff9efc9d 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].") }