alamb commented on PR #7262:
URL: 
https://github.com/apache/arrow-datafusion/pull/7262#issuecomment-1675384984

   🤔  I just tested this out in IOx and it looks like it still doesn't work for 
arrays
   
   ```sql
   create table foo(x varchar) as values ('foo'), ('bar');
   create table foo_dict as select arrow_cast(x, 'Dictionary(Int32, Utf8)') as 
x from foo;
   select upper(x) from foo_dict;
   ```
   
   Results in an internal error:
   
   ```
   DataFusion CLI v28.0.0
   ❯ create table foo(x varchar) as values ('foo'), ('bar');
   create table foo_dict as select arrow_cast(x, 'Dictionary(Int32, Utf8)') as 
x from foo;
   select upper(x) from foo_dict;
   
   0 rows in set. Query took 0.034 seconds.
   
   0 rows in set. Query took 0.039 seconds.
   
   Internal error: The "upper" function can only accept strings.. This was 
likely caused by a bug in DataFusion's code and we would welcome that you file 
an bug report in our issue tracker
   ````
   
   I will reopen https://github.com/apache/arrow-datafusion/issues/5471


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

Reply via email to