zhuqi-lucas commented on code in PR #16290:
URL: https://github.com/apache/datafusion/pull/16290#discussion_r2139142869


##########
datafusion/sqllogictest/test_files/arrow_files.slt:
##########
@@ -61,22 +61,12 @@ LOCATION '../core/tests/data/partitioned_table_arrow/'
 PARTITIONED BY (part);
 
 # select wildcard
-query ITBI
+query error DataFusion error: Arrow error: External error: Arrow error: 
Invalid argument error: column types must match schema types, expected Utf8View 
but found Utf8 at column index 1

Review Comment:
   Thank you @alamb , after investigate i believe i found the root cause:
   
   We using fixed arrow file to test for sqllogictests, and this arrow field is 
writing with arrow-ipc utf8, so when we decode to read it's also loading utf8. 
But we default the filed for sql to utf8view, so when we create the record 
batch we add checking default, it will failed.



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to