You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by hornn <gi...@git.apache.org> on 2016/09/13 07:29:29 UTC

[GitHub] incubator-hawq pull request #837: HAWQ-779 support pxf filter pushdwon at th...

Github user hornn commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/837#discussion_r78508860
  
    --- Diff: src/backend/optimizer/plan/createplan.c ---
    @@ -1144,9 +1144,15 @@ static char** create_pxf_plan(char **segdb_file_map, RelOptInfo *rel, int total_
     	
     	
     	Relation relation = RelationIdGetRelation(planner_rt_fetch(scan_relid, ctx->root)->relid);
    -	segdb_work_map = map_hddata_2gp_segments(uri_str, 
    +	if (pxf_enable_filter_pushdown){
    --- End diff --
    
    can be refactored:
    ```
    map_hddata_2gp_segments(uri_str,
                                                   total_segs, segs_participating,
                                                   relation, 
                                                   pxf_enable_filter_pushdown ? ctx->root->parse->jointree->quals : NULL);
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---