Replies: 1 comment 3 replies
-
This is already supported to some degree in table charts, and more recently in sqllab results (via #24368). A couple caveats:
It would be fairly simple to override the sanitization and allow for more use cases, or allow admins to customize this to some extent. However, if we want to get rid of the first req, i'm not sure how we could auto-detect the type since we only get back a generic binary type from most sqlalchemy interfaces. We could maybe make the first easier by providing some jinja helpers like |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've seen lots of cases where a binary field of a table is used to store some common binary data type that is used in support of machine learning, analytics, etc. A few common examples are images, audio, videos, etc. What do folks here think about adding an option to auto-detect such common types in order to render them into the relevant row/column position of a table displayed from a SQLLab query result or a Table chart?
Browsers of course already render common image types, audio widgets, and certain video types natively so I'm hoping it wouldn't be a huge amount of dev to put something like this together, but I work mostly in python no javascript or on UI so maybe I'm naive...
Any suggestions on where to start if I wanted to try hacking something like this together?
Beta Was this translation helpful? Give feedback.
All reactions