You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ vtexplain -vschema-file vschema.json -schema-file schema.sql -output-mode text -sql 'SELECT 1 AS one FROM `accounts` INNER JOIN `contacts` ON `accounts`.`id` = `contacts`.`account_id` LIMIT 1'
----------------------------------------------------------------------
SELECT 1 AS one FROM `accounts` INNER JOIN `contacts` ON `accounts`.`id` = `contacts`.`account_id` LIMIT 1
1 main/-80: select 1 as one from accounts join contacts on accounts.id = contacts.account_id limit 1
1 main/80-: select 1 as one from accounts join contacts on accounts.id = contacts.account_id limit 1
----------------------------------------------------------------------
Binary version
Installed via go get -v vitess.io/vitess/go/cmd/vtexplain but the version looks broken:
Version: (Git branch '') built on by @ using go1.15.2 darwin/amd64
Operating system and Environment details
OSX 10.15.6
The text was updated successfully, but these errors were encountered:
Overview of the Issue
vtexplain crashes on multiple INNER JOINs
Reproduction Steps
Given the following:
schema.sql
and vschema.json
Run
and see it crash with
The second JOIN seems to do it, as this passes:
Binary version
Installed via
go get -v vitess.io/vitess/go/cmd/vtexplain
but the version looks broken:Version: (Git branch '') built on by @ using go1.15.2 darwin/amd64
Operating system and Environment details
OSX 10.15.6
The text was updated successfully, but these errors were encountered: