bchapuis commented on issue #909:
URL: 
https://github.com/apache/incubator-baremaps/issues/909#issuecomment-2578059765

   @AlexGacon It looks more and more like the optimizer of postgres 16 does a 
very good job (is upgrading something you could consider?).
   
   I'm currently experimenting with appending the where clause directly to the 
user provided query assuming that we always have aliases for the id, tags, and 
geom columns. I liked the current version with a subquery, as it covered most 
cases and didn't require to parse the query with JSQLParser to account for most 
corner cases (queries with existing WHERE clause, queries with GROUP BY and 
HAVING clauses, etc.). But if needed we can reintroduce this.


-- 
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]

Reply via email to