Repository: incubator-hawq
Updated Branches:
refs/heads/master 0f61e8597 -> e150dc4e3
HAWQ-779. PXF Fix filter test failures
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/e150dc4e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/e150dc4e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/e150dc4e
Branch: refs/heads/master
Commit: e150dc4e346bf471687e32c32f37c66896d302ec
Parents: 0f61e85
Author: Shivram Mani
Authored: Thu Jul 7 15:04:31 2016 -0700
Committer: Shivram Mani
Committed: Thu Jul 7 15:04:31 2016 -0700
--
.../org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java | 2 +-
.../hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java | 2 +-
.../java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java | 2 +-
.../hawq/pxf/plugins/json/parser/PartitionedJsonParser.java | 3 +--
src/backend/access/external/test/pxffilters_test.c| 3 ++-
5 files changed, 6 insertions(+), 6 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
--
diff --git
a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
index 8dc932c..573fb81 100644
---
a/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
+++
b/pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
@@ -250,7 +250,7 @@ public class HBaseFilterBuilder implements
FilterParser.FilterBuilder {
* Currently, multiple calls to this function might change
* previous assignments.
*/
-private void storeStartEndKeys(FilterParser.Operation op, Object data) {
+private void storeStartEndKeys(FilterParser.Operation op, Object data)
throws Exception{
String key = (String) data;
// Adding a zero byte to endkey, makes it inclusive
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
--
diff --git
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
index a747bd5..df376d0 100644
---
a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
+++
b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java
@@ -89,7 +89,7 @@ public enum EnumHiveToHawqType {
/**
* Returns Hive to HAWQ type mapping entry for given Hive type
*
- * @param hiveType full Hive type with modifiers, for example -
decimal(10, 0), char(5), binary, array, map etc
+ * @param hiveType full Hive type with modifiers, for example -
decimal(10, 0), char(5), binary, array, map
etc
* @return corresponding Hive to HAWQ type mapping entry
* @throws UnsupportedTypeException if there is no corresponding HAWQ type
*/
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
--
diff --git
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
index 26d4c82..fe1d2f1 100644
---
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
+++
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/JsonRecordReader.java
@@ -67,7 +67,7 @@ public class JsonRecordReader implements
RecordReader {
*Hadoop context
* @param split
*HDFS split to start the reading from
-* @throws IOException
+* @throws IOException IOException
*/
public JsonRecordReader(JobConf conf, FileSplit split) throws
IOException {
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e150dc4e/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
--
diff --git
a/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
b/pxf/pxf-json/src/main/java/org/apache/hawq/pxf/plugins/json/parser/PartitionedJsonParser.java
index 71ad449..71ed81c 100644
---
a/pxf/pxf-j