You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ilsaloving (via GitHub)" <gi...@apache.org> on 2024/11/19 19:24:43 UTC

[I] Trino embedded rows lose their column names [superset]

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

   ### Bug description
   
   I am using Trino to connect to Opensearch since Superset doesn't directly support it yet.
   When I do a query that contains embedded rows, superset does not display the headers for those rows, showing only "NULL".
   
   I opened a ticket with Trino and they said it has to do with how Superset is calling the API.
   
   https://github.com/trinodb/trino/issues/23758
   
   ### Screenshots/recordings
   
   
   ![image](https://github.com/user-attachments/assets/5a705432-1afa-4d9b-9105-202606cd6eb3)
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   Actually using 4.0.2 because I haven't been having difficulties trying to extend the docker image.
   
   Logs did not indicate any errors.
   
   ### 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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Trino embedded rows lose their column names [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #30979: Trino embedded rows lose their column names
URL: https://github.com/apache/superset/issues/30979


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Trino embedded rows lose their column names [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #30979:
URL: https://github.com/apache/superset/issues/30979#issuecomment-2825762669

   I think the previous comment effectively answers this, and it's been 5 months since the last comment, so I'll close it as completed. Holler if this needs a revisit. 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Trino embedded rows lose their column names [superset]

Posted by "hashhar (via GitHub)" <gi...@apache.org>.
hashhar commented on issue #30979:
URL: https://github.com/apache/superset/issues/30979#issuecomment-2488587324

   For more context, we (trino python client maintainers) had been unable to find a standard way to expose field names for structural types (ROW in Trino's case, similar to STRUCT in BigQuery for example) so we implemented something in https://github.com/trinodb/trino-python-client/pull/335.
   
   Superset can use those methods to retrieve the field names for nested types. Note that we don't use a dict to represent row types because the semantics are different and some valid ROW values cannot be represented as a dict and round-trip and equality becomes problematic so we are not open to changing that decision.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org