jayzhan211 commented on PR #11978: URL: https://github.com/apache/datafusion/pull/11978#issuecomment-2290739554
``` statement ok create table test_source as values ('Andrew', 'X'), ('Xiangpeng', 'Xiangpeng'), ('Raphael', 'R'), (NULL, 'R') ; statement ok create table t as SELECT arrow_cast(column1, 'Utf8') as column1_utf8, arrow_cast(column2, 'Utf8') as column2_utf8, arrow_cast(column1, 'LargeUtf8') as column1_large_utf8, arrow_cast(column2, 'LargeUtf8') as column2_large_utf8, arrow_cast(column1, 'Utf8View') as column1_utf8view, arrow_cast(column2, 'Utf8View') as column2_utf8view, arrow_cast(column1, 'Dictionary(Int32, Utf8)') as column1_dict, arrow_cast(column2, 'Dictionary(Int32, Utf8)') as column2_dict FROM test_source; query error DataFusion error: Arrow error: Invalid argument error: column types must match schema types, expected Utf8View but found Utf8 at column index 0 select min(column1_utf8view) from t; ``` I run this test and failed. It success on main branch. -- 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