Skip to content

Commit

Permalink
Add test for join with select (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
EinKrebs committed Apr 15, 2024
1 parent a70e100 commit f52de8b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lyx/yx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,15 @@ func TestSelectComplex(t *testing.T) {
},
err: nil,
},
{
query: `
SELECT *
FROM a
LEFT JOIN (SELECT * FROM b) c ON a.id = c.id
`,
exp: nil,
err: nil,
},
} {
tmp, err := lyx.Parse(tt.query)

Expand Down

0 comments on commit f52de8b

Please sign in to comment.