SELECT start_date FROM users USE INDEX FOR JOIN (vacation_idx, users_idx) INNER JOIN vacation ON start_date = end_date;
SELECT start_date FROM users FORCE INDEX FOR JOIN (vacation_idx, users_idx) INNER JOIN vacation ON start_date = end_date;
Cannot be parsed because of exception:
cannot calculate position of users FORCE INDEX (vacation_idx, users_idx) within users FORCE INDEX FOR JOIN (vacation_idx, users_idx) INNER JOIN vacation ON start_date = end_date
This PR adds support for parsing joins index hints.
It doesn't fix index hints for GROUP BY and ORDER BY!
Queries:
Cannot be parsed because of exception:
This PR adds support for parsing joins index hints. It doesn't fix index hints for
GROUP BY
andORDER BY
!