ZuzannaSadowska opened a new issue, #28779:
URL: https://github.com/apache/superset/issues/28779

   ### Bug description
   
   I'm running Superset with Trino and Iceberg. If a dataset has a column with 
type UUID, the columns shows up as NULL in Superset
   
   ### How to reproduce the bug
   
   **1. Create a table with a UUID column:** In SQL Lab query editor, run 
`create table uuid_test (id uuid)`
   **2. Verify that the type of the column is UUID:** In SQL Lab query editor, 
run `describe uuid_test`. The output will show that the column `id` is of type 
UUID.
   **3. Refresh the table schema (SQL Lab left panel):** The column type of 
column `id` is NULL. Expected to see: UUID
   **4. Go to "Datasets", click "+ Dataset", select the `uuid_test` table.** 
The column type of column `id` is NULL. Expected to see: UUID.
   
   
   ### Screenshots/recordings
   
   <img width="909" alt="Screenshot 2024-05-30 at 13 41 34" 
src="https://github.com/apache/superset/assets/8843787/5ee35d8c-d737-43b3-8358-9eefc154afb2";>
   
   
   ### Superset version
   
   3.1.3
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   /usr/local/lib/python3.10/site-packages/trino/sqlalchemy/datatype.py:271: 
SAWarning: Did not recognize type 'uuid'
     util.warn(f"Did not recognize type '{type_name}'")
   
   
https://github.com/trinodb/trino-python-client/blob/master/trino/sqlalchemy/datatype.py#L177
   
   Perhaps updating sqlalchemy could fix this issue?
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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