Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
The fix for the issue #6
Browse files Browse the repository at this point in the history
Fixed null issues with arrays and maps when using SELECT column
  • Loading branch information
dvasilen committed Jun 13, 2014
1 parent b848068 commit f360bdc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.ibm.spss.hive.serde2.xml</groupId>
<artifactId>hivexmlserde</artifactId>
<version>1.0.5.0</version>
<version>1.0.5.1</version>
<packaging>jar</packaging>

<name>hive-xml-serde</name>
Expand Down
Binary file added release/hivexmlserde-1.0.5.1.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ private String getStringValue(Object o) {
}
} else if (o instanceof XmlNode) {
return getStringValue((XmlNode) o);
} else if (o != null) {
return o.toString();
}
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ private String getStringValue(Object o) {
}
} else if (o instanceof Node) {
return getStringValue((Node) o);
} else if (o != null) {
return o.toString();
}
return null;
}
Expand Down Expand Up @@ -453,7 +455,7 @@ private Node trimTextNode(Node node) {
}
return map;
}

/**
* @see com.ibm.spss.hive.serde2.xml.processor.XmlProcessor#getList(java.lang.Object)
*/
Expand Down

0 comments on commit f360bdc

Please sign in to comment.