I'm creating a simple hive table using this XML Serde, but it's throwing an exception when trying to parse the XPath below.
I've tried to use the VTD and Javax processor for the following xpath:
column.xpath.is_application=/Msg/Header/Type='APP'
but it throws the following exception:
VTD:
java.lang.RuntimeException: com.ximpleware.XPathEvalException: BinaryExpr can't eval to a node set!
Javax.xml:
Caused by: javax.xml.xpath.XPathExpressionException: com.sun.org.apache.xpath.internal.XPathException: Can not convert #BOOLEAN to a NodeList!
Example XML Doc
<Msg>
<Header>
<Type>APP</Type>
</Header>
</Msg>
What am I doing wrong?