Skip to content

INNER JOIN ... USING performs cross join #368

Answered by orware
bgrainger asked this question in Bug Reports
Discussion options

You must be logged in to vote

@bgrainger,

I'll report this internally as well to our Vitess team because I see this as being related to some other INFORMATION_SCHEMA fixes that have been corrected related to the newer Gen4 query planner in recent months on our end.

I was able to run a test using the older V3 query planner and the second query returned the expected 272 results.

I did run a simplified test beforehand though with a user created table and also didn't experience the same sort of issue so it may be limited to areas like the INFORMATION_SCHEMA only.

For reference the user created table was pretty simple and I pulled it mostly from a section of the MySQL JOIN documentation page and tweaked the example queries…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bgrainger
Comment options

@orware
Comment options

Answer selected by bgrainger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants