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

Commit

Permalink
Changed the Properties.keySet() call to Properties.stringPropertyNames()
Browse files Browse the repository at this point in the history
to address Issue#9.
  • Loading branch information
dvasilen committed Oct 23, 2014
1 parent f360bdc commit 05dde5c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 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.1</version>
<version>1.0.5.2</version>
<packaging>jar</packaging>

<name>hive-xml-serde</name>
Expand Down
Binary file removed release/hivexmlserde-1.0.5.0.jar
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions src/main/java/com/ibm/spss/hive/serde2/xml/XmlSerDe.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ public void initialize(Configuration configuration, final Properties properties)
List<String> columnNames = Arrays.asList(properties.getProperty(LIST_COLUMNS).split("[,:;]"));
final List<XmlQuery> queries = new ArrayList<XmlQuery>();
final Map<String, XmlMapEntry> mapSpecification = new HashMap<String, XmlMapEntry>();
for (Object o : properties.keySet()) {
String key = (String) o;
for (String key : properties.stringPropertyNames()) {
if (key.startsWith(COLUMN_XPATH_PREFIX)) {
// create column XPath query
// "column.xpath.result"="//result/text()"
Expand Down

0 comments on commit 05dde5c

Please sign in to comment.