You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Madhan Sundararajan Devaki (JIRA)" <ji...@apache.org> on 2015/04/27 16:43:38 UTC
[jira] [Updated] (HIVE-10496) Hive xpath udf not getting the values
within xml content
[ https://issues.apache.org/jira/browse/HIVE-10496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Sundararajan Devaki updated HIVE-10496:
----------------------------------------------
Component/s: (was: File Formats)
UDF
HiveServer2
> Hive xpath udf not getting the values within xml content
> --------------------------------------------------------
>
> Key: HIVE-10496
> URL: https://issues.apache.org/jira/browse/HIVE-10496
> Project: Hive
> Issue Type: Bug
> Components: Hive, HiveServer2, UDF
> Affects Versions: 0.13.1
> Environment: CDH5.2.x, CDH5.3.x
> Reporter: Madhan Sundararajan Devaki
> Priority: Blocker
>
> None of the following select statements return values, for an XML content stored as String in a Hive 0.13 external AVRO table.
> 1. select xpath(pcdata, '//ResponseData/*/text()') from tablewithXML where id = '10' and key = '111'"
> 2. select xpath(pcdata, '//FormResponse/ResponseData/*/text()') from tablewithXML where id = '10' and key = '111'"
> For example, please find below the XML content.
> :
> <FormResponse> <ResponseData>7.11.250x</ResponseData> </FormResponse> <FormResponse> <ResponseData>356z</ResponseData> </FormResponse>
> :
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)