[ 
https://issues.apache.org/jira/browse/HAWQ-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215328#comment-15215328
 ] 

ASF GitHub Bot commented on HAWQ-601:
-------------------------------------

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

    https://github.com/apache/incubator-hawq/pull/525#discussion_r57666446
  
    --- Diff: src/backend/cdb/cdbdatalocality.c ---
    @@ -768,12 +769,23 @@ static void check_keep_hash_and_external_table(
                         * whose default value is set to default_segment_num
                         */
                        ExtTableEntry* extEnrty = GetExtTableEntry(rel->rd_id);
    -                   if(extEnrty->command){
    -                           // command external table case
    -                           if (context->externTableOnClauseSegNum == 0) {
    -                                   context->externTableOnClauseSegNum = 
targetPolicy->bucketnum;
    +
    +                   bool isPxf = false;
    +                   if(!extEnrty->command && extEnrty->locations){
    --- End diff --
    
    ok


> Clear external table code.
> --------------------------
>
>                 Key: HAWQ-601
>                 URL: https://issues.apache.org/jira/browse/HAWQ-601
>             Project: Apache HAWQ
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Hubert Zhang
>            Assignee: Lei Chang
>
> clear unuseful code in external table and treat pxf bucket number as forced 
> vsegs in resource negotiator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to