Skip to content

Commit 86d223b

Browse files
hantangwangdjaystarshot
authored andcommitted
Add missing content and fix typos in comments
1 parent 95fc85e commit 86d223b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

presto-main-base/src/main/java/com/facebook/presto/sql/planner/iterative/Lookup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface Lookup
2626
/**
2727
* Resolves a node by materializing GroupReference nodes
2828
* representing symbolic references to other nodes. This method
29-
* is deprecated since is assumes group contains only one node.
29+
* is deprecated since it assumes group contains only one node.
3030
* <p>
3131
* If the node is not a GroupReference, it returns the
3232
* argument as is.

presto-main-base/src/main/java/com/facebook/presto/sql/planner/iterative/rule/LeftJoinWithArrayContainsToEquiJoinCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
import static java.util.Objects.requireNonNull;
4949

5050
/**
51-
* When the join condition of a left join has pattern of contains(array, element) where array, we can rewrite it as a equi join condition. For example:
51+
* When the join condition of a left join has pattern of contains(array, element) where array is from the right-side relation and element is from the left-side relation, we can rewrite it as an equi join condition. For example:
5252
* <pre>
5353
* - Left Join
5454
* empty join clause

0 commit comments

Comments
 (0)