tobixdev commented on issue #21626:
URL: https://github.com/apache/datafusion/issues/21626#issuecomment-4257808635

   That's great! I've also been looking into this issue a bit more and one of 
the issues I've discovered is that even after adjusting 
`SqlToRel::convert_simple_data_type`, the metadata seems to get lost somewhere. 
I haven't had time looking at whether it's at the writing or reading end (maybe 
it's also my test).
   
   Here is the slt file that I've used:
   
   ```text
   #######
   # Setup test data table
   #######
   statement ok
   CREATE TABLE test_uuid (
       value UUID
   ) AS VALUES
       (NULL);
   
   #######
   # Tests
   #######
   
   query TTT
   DESCRIBE test_uuid;
   ----
   value FixedSizeBinary(16) YES
   
   # Remark: Here I would have expected an entry in `ARROW:extension:name`.
   query ?
   SELECT ARROW_METADATA(value) FROM test_uuid;
   ----
   {}
   
   #######
   # Clean-up
   #######
   statement ok
   DROP TABLE test_uuid;
   ```
   
   If you've got any further questions don't hesitate to ask.


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