trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.1k stars 2.92k forks source link

Support for XPath functions #3888

Open tooptoop4 opened 4 years ago

tooptoop4 commented 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

weijiii commented 2 months ago

@ebyhr Can I pick this up? We also had users requesting the support of the XML related functions.