You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2019/04/23 09:18:55 UTC
[flink] branch master updated: [hotfix][table-api] Fixed
calciteConfig extraction from PlannerConfig
This is an automated email from the ASF dual-hosted git repository.
dwysakowicz 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 62c2a7b [hotfix][table-api] Fixed calciteConfig extraction from PlannerConfig
62c2a7b is described below
commit 62c2a7bda33e17d39d400f0ee40db7d78c6f8484
Author: Dawid Wysakowicz <dw...@apache.org>
AuthorDate: Tue Apr 23 11:18:19 2019 +0200
[hotfix][table-api] Fixed calciteConfig extraction from PlannerConfig
---
.../src/main/scala/org/apache/flink/table/api/TableEnvironment.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
index 6d6ea01..ebdae79 100644
--- a/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
+++ b/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
@@ -117,7 +117,7 @@ abstract class TableEnvironment(val config: TableConfig) {
private[flink] val operationTreeBuilder = new OperationTreeBuilder(this)
- protected val calciteConfig: CalciteConfig = config.getPlannerConfig
+ protected def calciteConfig: CalciteConfig = config.getPlannerConfig
.unwrap(classOf[CalciteConfig])
.orElse(CalciteConfig.DEFAULT)