[
https://issues.apache.org/jira/browse/HAWQ-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15007718#comment-15007718
]
ASF GitHub Bot commented on HAWQ-44:
------------------------------------
Github user hornn commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/92#discussion_r45008425
--- 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 --
Good point.
Also created JIRA to change it all over the code
https://issues.apache.org/jira/browse/HAWQ-165
> 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)