trinodb / trino-gateway

https://trinodb.github.io/trino-gateway/
Apache License 2.0
122 stars 47 forks source link

Query History incorrectly treats source as a required field #392

Open willmostly opened 1 week ago

willmostly commented 1 week ago

QueryHistory assumes that source is never null, however clients are not required to set X-Trino-Source. This prevents lookup for such queries in a multi instance deployment, and prevents the Query History page from working if any rows returned for a search have source = NULL.