Aggarwal-Raghav commented on PR #6749:
URL: https://github.com/apache/hive/pull/6749#issuecomment-5553483912

   > > This PR introduces a mathematical offset that dynamically calculates the 
length of any prefix, allowing the server to gracefully accept and route 
multi-segment prefixes.
   > 
   > doesn't iceberg lib provide utils we can reuse to do the proper routing?
   
   LLM respose 😬:
   Iceberg core provides the CatalogHandlers classes for the actual operations, 
but it does not provide framework-agnostic HTTP routing utilities. Iceberg 
deliberately leaves HTTP path routing and prefix extraction up to the 
implementing web framework (e.g., Spring Boot, Javalin, Spark Java). Since 
Hive's REST catalog implementation uses a raw HttpServlet (via 
IcebergMetastoreServlet), we have to manually parse the path and extract the 
optional prefix offset.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to