Skip to content

Commit

Permalink
Update planner/funcdep/fd_graph.go
Browse files Browse the repository at this point in the history
Co-authored-by: Zhou Kunqin <25057648+time-and-fate@users.noreply.github.com>
  • Loading branch information
winoros and time-and-fate authored Apr 18, 2022
1 parent 01f4406 commit b6e5ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/funcdep/fd_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ func (s *FDSet) MakeCartesianProduct(rhs *FDSet) {
// miss matched rows from left side are unique originally, even appended with NULL value from right side, they are still
// strictly determine themselves and even the all rows after left join.
// conclusion combined:
// equivalence with both strict Key from right and left, the left side's strict FD can be extended to all rows after left join.
// If there is an equivalence covering both strict Key from the right and left, we can create a new strict FD: {columns of the left side of the join in the equivalence} -> {all columns after join}.
//
// <3.3> equivalence FD: let's see equivalence FD as double-directed strict FD from join equal conditions, and we only keep the
// rhs ~~> lhs.
Expand Down

0 comments on commit b6e5ce5

Please sign in to comment.