You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2019/05/29 20:04:23 UTC

[calcite] 02/06: Javadoc typos (Wenhui Tang, Muhammad Gelbana)

This is an automated email from the ASF dual-hosted git repository.

jhyde pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit fc5704e6038ded2108f232f435060d48015f957d
Author: winifredtamg <we...@yeah.net>
AuthorDate: Tue May 28 15:48:54 2019 +0800

    Javadoc typos (Wenhui Tang, Muhammad Gelbana)
    
    Close apache/calcite#1238
    Close apache/calcite#1194
---
 core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java | 2 +-
 core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java | 4 ++--
 site/_docs/adapter.md                                               | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java b/core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java
index 5523cfc..bd60d5a 100644
--- a/core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java
+++ b/core/src/main/java/org/apache/calcite/plan/RelOptPredicateList.java
@@ -36,7 +36,7 @@ import java.util.Objects;
  *
  * <p>For example, if you apply {@code Filter(x > 1)} to a relational
  * expression that has a predicate {@code y < 10} then the pulled up predicates
- * for the Filter are {@code [y < 10, x > ]}.
+ * for the Filter are {@code [y < 10, x > 1]}.
  *
  * <p><b>Inferred predicates</b> only apply to joins. If there there is a
  * predicate on the left input to a join, and that predicate is over columns
diff --git a/core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java b/core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java
index 9ee0745..a5f8def 100644
--- a/core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java
+++ b/core/src/main/java/org/apache/calcite/rel/rules/FilterJoinRule.java
@@ -79,7 +79,7 @@ public abstract class FilterJoinRule extends RelOptRule {
   //~ Constructors -----------------------------------------------------------
 
   /**
-   * Creates a FilterProjectTransposeRule with an explicit root operand and
+   * Creates a FilterJoinRule with an explicit root operand and
    * factories.
    */
   protected FilterJoinRule(RelOptRuleOperand operand, String id,
@@ -102,7 +102,7 @@ public abstract class FilterJoinRule extends RelOptRule {
   }
 
   /**
-   * Creates a FilterProjectTransposeRule with an explicit root operand and
+   * Creates a FilterJoinRule with an explicit root operand and
    * factories.
    */
   @Deprecated // to be removed before 2.0
diff --git a/site/_docs/adapter.md b/site/_docs/adapter.md
index a857e91..96b8da8 100644
--- a/site/_docs/adapter.md
+++ b/site/_docs/adapter.md
@@ -570,7 +570,7 @@ Calcite generates Java code, compiles it, and executes inside its own JVM.
 Enumerable convention is less efficient than, say, a distributed engine
 running over column-oriented data files, but it can implement all core
 relational operators and all built-in SQL functions and operators. If a data
-source cannot an implement a relational operator, enumerable convention is
+source cannot implement a relational operator, enumerable convention is
 a fall-back.
 
 ### Statistics and cost