cxzl25 opened a new issue, #1763:
URL: https://github.com/apache/auron/issues/1763
**Describe the bug**
```
Caused by: java.lang.RuntimeException: poll record batch error: Execution
error: native execution panics: Execution error: Execution error:
output_with_sender[Project] error: Execution error:
output_with_sender[Project]: output() returns error: External error: Java
exception thrown at
native-engine/datafusion-ext-exprs/src/spark_udf_wrapper.rs:216:
java.lang.RuntimeException: Error loading expression '/data/k1'
at org.apache.auron.jni.JniBridge.nextBatch(Native Method)
at
org.apache.auron.jni.AuronCallNativeWrapper.loadNextBatch(AuronCallNativeWrapper.java:118)
... 19 more
```
**To Reproduce**
```sql
create table tmp_xml ( id int ,c1 string) stored as parquet ;
insert overwrite table tmp_xml values
(1,'a'),(5,'<'),(5,'<'),(5,'<'),(5,'<'),(5,'<'),(5,'<'),(2,'<data><k1>v1</k1></data>'),(3,'<daa>'),(4,'>'),(5,'<'),(5,'<'),(5,'<'),(5,'<'),(5,'<'),(5,'<');
```
```sql
select * , case when id=2 and xpath_string(c1,'/data/k1')= 'v1' then 'xml'
else 'no_xml' end as extracted_value from tmp_xml;
```
**Expected behavior**
<!--
A clear and concise description of what you expected to happen.
-->
**Screenshots**
<!--
If applicable, add screenshots to help explain your problem.
-->
**Additional context**
<!--
Add any other context about the problem here.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]