You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/11 07:19:42 UTC
[GitHub] [flink] twalthr commented on a change in pull request #8294:
[FLINK-12348][table-planner-blink]Use TableConfig in api module to replace
TableConfig in blink-planner module.
twalthr commented on a change in pull request #8294: [FLINK-12348][table-planner-blink]Use TableConfig in api module to replace TableConfig in blink-planner module.
URL: https://github.com/apache/flink/pull/8294#discussion_r302393576
##########
File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/codegen/ExpressionReducer.scala
##########
@@ -100,7 +100,11 @@ class ExpressionReducer(
case _ => throw new TableException("RichMapFunction[GenericRow, GenericRow] required here")
}
- val parameters = if (config.getConf != null) config.getConf else new Configuration()
+ val parameters = if (config.getConfiguration != null) {
Review comment:
According to the `TableConfig` a config can never be null. Introducing arbitrary null checks is not helpful.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services