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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to