Repository navigation
Conversation
Mytherin
left a comment
There was a problem hiding this comment.
Thanks for the PR! Looks great. Just some minor nitpicks:
|
Hi Folks! I have a few quick questions on this one. What types of joins will this work for (inner, left)? Does it need to be a single equality operator? What if I have multiple columns in the join each with an equality comparison? Are there any data types restrictions or any other situations where this won't come into play? My dataset is pretty big so indexing is expensive... I just want to make sure that my queries can utilize them! Thanks! |
|
Hey Alex, this is only used for highly selective (If I remember correctly, up to a vector size) inner joins, so the real goal was point queries on equality joins. Anyway, let me know your schema and queries, and I'll be happy to take a look :-) Btw, you can force the index joins with the following pragma, so they will be used regardless of selectivity. |
|
@pdet Hello another inquiry, is there a reason index_join got removed? Thanks in advance! |
Using pre-existing indexes for equality joins with one comparison.