set hive.fetch.task.conversion=more;
DESCRIBE FUNCTION xpath_boolean ;
DESCRIBE FUNCTION EXTENDED xpath_boolean ;
SELECT xpath_boolean ('b', 'a/b') FROM src tablesample (1 rows) ;
SELECT xpath_boolean ('b', 'a/c') FROM src tablesample (1 rows) ;
SELECT xpath_boolean ('b', 'a/b = "b"') FROM src tablesample (1 rows) ;
SELECT xpath_boolean ('b', 'a/b = "c"') FROM src tablesample (1 rows) ;
SELECT xpath_boolean ('10', 'a/b < 10') FROM src tablesample (1 rows) ;
SELECT xpath_boolean ('10', 'a/b = 10') FROM src tablesample (1 rows) ;