trino-gateway icon indicating copy to clipboard operation
trino-gateway copied to clipboard

Pass object instead of multiple strings to routingManager?

Open Chaho12 opened this issue 7 months ago • 5 comments

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. image

So, how about passing an object which includes all headers?

Chaho12 avatar Jun 28 '24 00:06 Chaho12