Open tooptoop4 opened 4 years ago
Both Spark and Hive support XPath functions:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+XPathUDF https://github.com/apache/hive/tree/master/ql/src/java/org/apache/hadoop/hive/ql/udf/xml
https://spark.apache.org/docs/2.3.0/api/sql/index.html https://github.com/apache/spark/blob/master/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/xml/UDFXPathUtil.java https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/xml/xpath.scala
@ebyhr Can I pick this up? We also had users requesting the support of the XML related functions.
Both Spark and Hive support XPath functions:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+XPathUDF https://github.com/apache/hive/tree/master/ql/src/java/org/apache/hadoop/hive/ql/udf/xml
https://spark.apache.org/docs/2.3.0/api/sql/index.html https://github.com/apache/spark/blob/master/sql/catalyst/src/main/java/org/apache/spark/sql/catalyst/expressions/xml/UDFXPathUtil.java https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/xml/xpath.scala