Additions/suggestions to improve the Superset DB query table #21856
GerbenvdHuizen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Superset DB contains a table with records of historic query runs simply called
query
. Thequery
table currently contains the following columns relevant to query runtime:status
start_time
end_time
start_running_time
end_results_backend_time
Although there already are many columns that help infer the runtime of a query, I found that some small additions could improve the analytical value of this table greatly. I therefore suggest implementing the following additions:
duration
can technically be calculated with the already available columns I think this would be a simple improvement that provides immediate value. I therefore suggest adding aduration
column to thequery
table.end_time
field will contain anull
value. I suggest adding the timestamp of when the query ended/failed instead of thenull
value so this can be used for analytical/debug purposes. I'm not sure if the null value forend_time
on failure is a bug.status
column. A timed-outstatus
would already provide a lot more insight on why a query failed while still being different from a query failurestatus
due to for example a parsing exception.Beta Was this translation helpful? Give feedback.
All reactions