Github user sansanichfb commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/895#discussion_r78457207 --- Diff: pxf/pxf-hdfs/src/main/java/org/apache/hawq/pxf/plugins/hdfs/utilities/HdfsUtilities.java --- @@ -236,6 +236,8 @@ public static Schema getAvroSchema(Configuration conf, String dataSource) public static String toString(List<OneField> complexRecord, String delimiter) { StringBuilder buff = new StringBuilder(); String delim = ""; // first iteration has no delimiter + if(complexRecord == null) + return null; --- End diff -- Is it safe to return null? Could be better to return empty string?
--- 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. ---