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

   ### Describe the bug
   
   This should return `arrow.uuid`, but it doesn't.
   
   ```sql
   SELECT array_transform(
       array_transform(
           array_transform(
               [X'00010203040506070809000102030506'],
               raw -> CAST(arrow_cast(raw, 'FixedSizeBinary(16)') AS UUID)
           ),
           uuid -> uuid
       ),
       uuid -> arrow_metadata(uuid, 'ARROW:extension:name')
   );
   ```
   
   ### To Reproduce
   
   ```
   SELECT array_transform(
       array_transform(
           array_transform(
               [X'00010203040506070809000102030506'],
               raw -> CAST(arrow_cast(raw, 'FixedSizeBinary(16)') AS UUID)
           ),
           uuid -> uuid
       ),
       uuid -> arrow_metadata(uuid, 'ARROW:extension:name')
   );
   ```
   
   ### Expected behavior
   
   ```
   ['arrow.uuid']
   ```
   
   ### Additional context
   
   _No response_
   
   ### Willingness to contribute
   
   I plan to contribute a fix for this bug independently


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