vvysotskyi commented on code in PR #2583:
URL: https://github.com/apache/drill/pull/2583#discussion_r913085410


##########
exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillTable.java:
##########
@@ -168,9 +170,19 @@ public Statistic getStatistic() {
 
   @Override
   public RelNode toRel(RelOptTable.ToRelContext context, RelOptTable table) {
-    // returns non-drill table scan to allow directory-based partition pruning
-    // before table group scan is created
-    return LogicalTableScan.create(context.getCluster(), table);
+    // Returns non-drill table scan to allow directory-based partition pruning

Review Comment:
   We could also have similar problems with other format plugins. Could we use 
the interface instead of the object in DrillTable for selection and add some 
method to return its digest?



-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to