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

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

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

    https://github.com/apache/incubator-hawq/pull/92#discussion_r44827404
  
    --- Diff: 
pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/ReadBridge.java ---
    @@ -14,58 +14,81 @@
     
     import java.io.*;
     import java.nio.charset.CharacterCodingException;
    +import java.util.LinkedList;
     import java.util.zip.ZipException;
     
    -/*
    - * ReadBridge class creates appropriate accessor and resolver.
    - * It will then create the correct output conversion
    - * class (e.g. Text or GPDBWritable) and get records from accessor,
    - * let resolver deserialize them and reserialize them using the
    - * output conversion class.
    - *
    - * The class handles BadRecordException and other exception type
    - * and marks the record as invalid for GPDB.
    +/**
    + * ReadBridge class creates appropriate accessor and resolver. It will then
    + * create the correct output conversion class (e.g. Text or GPDBWritable) 
and
    + * get records from accessor, let resolver deserialize them and 
reserialize them
    + * using the output conversion class. <br>
    + * The class handles BadRecordException and other exception type and marks 
the
    + * record as invalid for HAWQ.
      */
     public class ReadBridge implements Bridge {
         ReadAccessor fileAccessor = null;
         ReadResolver fieldsResolver = null;
         BridgeOutputBuilder outputBuilder = null;
    +    LinkedList<Writable> outputQueue = null;
     
    -    private Log Log;
    +    static private Log Log = LogFactory.getLog(ReadBridge.class);
    --- End diff --
    
    best practice is to define log objects as private static final when you 
initialize it


> Advanced statistics for PXF tables
> ----------------------------------
>
>                 Key: HAWQ-44
>                 URL: https://issues.apache.org/jira/browse/HAWQ-44
>             Project: Apache HAWQ
>          Issue Type: New Feature
>          Components: PXF
>            Reporter: Noa Horn
>            Assignee: Noa Horn
>              Labels: Performance
>
> PXF will get full statistics on a table using sampling.



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

Reply via email to