trino-gateway
trino-gateway copied to clipboard
Pass object instead of multiple strings to routingManager?
RoutingManager's provideBackendForRoutingGroup or provideAdhocBackend functions are called in QueryIdCachingProxyHandler.java but within the function, it sends only routing group (if there is a header named "X-Trino-Routing-Group") and user info.
But in request headers, there are much more helpful informations, such as source, catalog, clientTags etc.
So, how about passing an object which includes all headers?