我已经编写了猪脚本org.apache.pig.piggybank.evaluation.xml.XPath(),它在元素emp_id只有一个1 emp_id值的情况下运行良好但对许多人来说它失败了。
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Table>
<returnXml><emp_id>12345,78901,45612,456789,54321</emp_id>
<_Date>12-01-2016</_Date>
</returnXml>
</Table>
</NewDataSet>