KurtYoung commented on a change in pull request #10315: [FLINK-14552][table] 
Enable partition statistics in blink planner
URL: https://github.com/apache/flink/pull/10315#discussion_r354120676
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/rules/logical/PushPartitionIntoTableSourceScanRule.scala
 ##########
 @@ -60,20 +67,26 @@ class PushPartitionIntoTableSourceScanRule extends 
RelOptRule(
   override def onMatch(call: RelOptRuleCall): Unit = {
     val filter: Filter = call.rel(0)
     val scan: LogicalTableScan = call.rel(1)
+    val context = call.getPlanner.getContext.unwrap(classOf[FlinkContext])
 
 Review comment:
   we need some tests for this rule

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to