[ 
https://issues.apache.org/jira/browse/BEAM-8508?focusedWorklogId=337007&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-337007
 ]

ASF GitHub Bot logged work on BEAM-8508:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Oct/19 19:27
            Start Date: 31/Oct/19 19:27
    Worklog Time Spent: 10m 
      Work Description: 11moon11 commented on pull request #9943: [BEAM-8508] 
[SQL] Standalone filter push down
URL: https://github.com/apache/beam/pull/9943#discussion_r341326775
 
 

 ##########
 File path: 
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/test/TestTableProvider.java
 ##########
 @@ -211,9 +211,8 @@ public BeamTableStatistics 
getTableStatistics(PipelineOptions options) {
         }
       }
 
-      // When project push-down is supported.
-      if ((options == PushDownOptions.PROJECT || options == 
PushDownOptions.BOTH)
-          && !fieldNames.isEmpty()) {
+      // When project push-down is supported or field reordering is needed.
 
 Review comment:
   Decided to not drop the `Calc` when fields are selected in a different order 
for now.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 337007)
    Time Spent: 1h 50m  (was: 1h 40m)

> [SQL] Support predicate push-down without project push-down
> -----------------------------------------------------------
>
>                 Key: BEAM-8508
>                 URL: https://issues.apache.org/jira/browse/BEAM-8508
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Kirill Kozlov
>            Assignee: Kirill Kozlov
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> In this PR: [https://github.com/apache/beam/pull/9863]
> Support for Predicate push-down is added, but only for IOs that support 
> project push-down.
> In order to accomplish that some checks need to be added to not perform 
> certain Calc and IO manipulations when only filter push-down is needed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to