shounakmk219 commented on PR #12417:
URL: https://github.com/apache/pinot/pull/12417#issuecomment-1968346227

   > Can we also process the path parameter during the request filtering? IIRC 
there is a filter that can be applied after matching the path, and I don't like 
the idea of adding all these v2 APIs
   
   Hey @Jackie-Jiang we can't update the URI in post match phase and path param 
context is only available there ([doc 
ref](https://docs.google.com/document/d/1l1dco4lRhB28y-yKMVKlOMZ0sdFKObjJfhAjG6cmktU/edit#heading=h.o32s8vubl0gc)).
   Due to this limitation we are forced to manually handle the translation for 
the endpoints having table name as path param. Intent of the v2 APIs is to 
discourage the table name input as path param and eventually deprecate it so 
that we have a centralised place where translation is performed and avoid the 
maintenance overhead around it.
   Let me know your thoughts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to