Thanks for the perf. update @binarycat0 ! However, the execution times are too small and the sample size is small too (I'm afraid) so the perf. numbers are not decisive, IMHO 😅
At the same time the new index will have some storage and maintenance overhead.
Let's open a dev ML discussion about this and see what people who use Polaris with Postgres think.
The java code changes LGTM 👍
Originally posted by @dimas-b in #2465 (comment)
As a point for adding an index, this comment can be taken: