Skip to content

Commit

Permalink
Change the description
Browse files Browse the repository at this point in the history
  • Loading branch information
LakeShen committed Sep 16, 2023
1 parent 68ccac1 commit 3ded35f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,8 @@ private CoreRules() {}
public static final SortJoinCopyRule SORT_JOIN_COPY =
SortJoinCopyRule.Config.DEFAULT.toRule();

/** Rule that removes a {@link Sort} if its input is already sorted. */
/** Rule that removes a {@link Sort} if its input is already sorted.
* If {@code sort} input max row cnt is 1,we could also remove the {@code sort}*/
public static final SortRemoveRule SORT_REMOVE =
SortRemoveRule.Config.DEFAULT.toRule();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* Planner rule that removes
* a {@link org.apache.calcite.rel.core.Sort} if its input is already sorted.
*
* <p> If {@code sort} input max row cnt is 1,we could also remove the {@code sort}
*
* <p>Requires {@link RelCollationTraitDef}.
*
* @see CoreRules#SORT_REMOVE
Expand Down

0 comments on commit 3ded35f

Please sign in to comment.