Re: Logical plan optimization with Calcite

2016-07-21 Thread gallenvara
Thanks Max and Timo for the explanation. :) -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Logical-plan-optimization-with-Calcite-tp8037p8106.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Re: Logical plan optimization with Calcite

2016-07-20 Thread Timo Walther
Max is right, Flink uses Calcite rules for optimization. The following rules are applied so far: https://github.com/apache/flink/blob/master/flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/plan/rules/FlinkRuleSets.scala The filter condition you metioned will not be optimize

Re: Logical plan optimization with Calcite

2016-07-20 Thread Maximilian Michels
Hi Gallenvara, As far as I know, the Table API is now translated into a Calcite plan which is then optimized according to Calcite's optimization rules. Cheers, Max On Wed, Jul 20, 2016 at 7:24 AM, gallenvara wrote: > > Hello, everyone. I'm new to Calcite and have some problems with it. Flink >