Skip to content

Commit

Permalink
Document that left-joins don't recognize transitive relationships in …
Browse files Browse the repository at this point in the history
…unsupported_cases.txt

vitessio#4772

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
  • Loading branch information
dweitzman committed Apr 1, 2019
1 parent 8d0c1a9 commit 196669a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions go/vt/vtgate/planbuilder/testdata/unsupported_cases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -440,3 +440,8 @@

"select func(keyspace_id) from user_index where id = :id"
"unsupported: expression on results of a vindex function"

# Multi-table unique vindex constraint on left table of left join, two levels of join, simple aggregation
# This should work, but doesn't. See https://github.com/vitessio/vitess/issues/4772
"select user.id, count(*) from user left join user_extra ue1 on user.id = ue1.user_id left join user_extra ue2 on ue1.user_id = ue2.user_id group by user.id"
"unsupported: cross-shard query with aggregates"

0 comments on commit 196669a

Please sign in to comment.