trinodb / trino-gateway

Home Page:https://trinodb.github.io/trino-gateway/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query History incorrectly treats source as a required field

willmostly opened this issue · comments

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.