alamb opened a new issue, #13444:
URL: https://github.com/apache/datafusion/issues/13444

   ### Describe the bug
   
   A regression appears to have been introduced in 
   - https://github.com/apache/datafusion/pull/13407
   
   T
   
   ### To Reproduce
   
   This used to work in DataFusion 42.0.0 but doesn't in DataFusion 43.0.0:
   
   ```
   DataFusion CLI v43.0.0
   > create table t as values (arrow_cast('Foo', 'Dictionary(Int32, 
LargeUtf8)'));
   0 row(s) fetched.
   Elapsed 0.013 seconds.
   
   > select md5(column1) from t;
   Arrow error: Compute error: Internal Error: Cannot cast Utf8View to 
StringArray of expected type
   ```
   
   ### Expected behavior
   
   Query should complete
   
   ### Additional context
   
   I found this while writing tests in 
https://github.com/apache/datafusion/pull/13443 -- Feel free to take those 
tests to work on this issue
   
   Those tests fail like this:
   
   ```
   External error: query failed: DataFusion error: Arrow error: Invalid 
argument error: column types must match schema types, expected LargeUtf8 but 
found Utf8 at column index 0
   [SQL] select md5(ascii_1) from test_basic_operator;
   at test_files/string/./string_query.slt.part:1381
   at test_files/string/large_string.slt:93
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to