[ 
https://issues.apache.org/jira/browse/CALCITE-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chunwei Lei updated CALCITE-2875:
---------------------------------
    Description: 
There are some misspellings in RelOptListener:
/**
   * Notifies this listener that a relational expression has been chosen as
   * part of the final implementation of the query plan. After the plan is
   * {color:red}copmlete{color}, this is called one more time with null for the 
rel.
   *
   * @param event details about the event
   */
  void relChosen(RelChosenEvent event);

  /** Event indicating that a planner rule has been 
{color:red}attemptedd{color}. */
  class RuleAttemptedEvent extends RuleEvent {
    private final boolean before;

    public RuleAttemptedEvent(
        Object eventSource,
        RelNode rel,
        RelOptRuleCall ruleCall,
        boolean before) {
      super(eventSource, rel, ruleCall);
      this.before = before;
    }

    public boolean isBefore() {
      return before;
    }
  }


  was:
There are some misspellings in RelOptListener:

{code:java}
  /**
   * Notifies this listener that a relational expression has been chosen as
   * part of the final implementation of the query plan. After the plan is
   * {color:red}copmlete{color}, this is called one more time with null for the 
rel.
   *
   * @param event details about the event
   */
  void relChosen(RelChosenEvent event);

  /** Event indicating that a planner rule has been 
{color:red}attemptedd{color}. */
  class RuleAttemptedEvent extends RuleEvent {
    private final boolean before;

    public RuleAttemptedEvent(
        Object eventSource,
        RelNode rel,
        RelOptRuleCall ruleCall,
        boolean before) {
      super(eventSource, rel, ruleCall);
      this.before = before;
    }

    public boolean isBefore() {
      return before;
    }
  }
{code}



> Some misspellings in RelOptListener
> -----------------------------------
>
>                 Key: CALCITE-2875
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2875
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Chunwei Lei
>            Assignee: Chunwei Lei
>            Priority: Major
>
> There are some misspellings in RelOptListener:
> /**
>    * Notifies this listener that a relational expression has been chosen as
>    * part of the final implementation of the query plan. After the plan is
>    * {color:red}copmlete{color}, this is called one more time with null for 
> the rel.
>    *
>    * @param event details about the event
>    */
>   void relChosen(RelChosenEvent event);
>   /** Event indicating that a planner rule has been 
> {color:red}attemptedd{color}. */
>   class RuleAttemptedEvent extends RuleEvent {
>     private final boolean before;
>     public RuleAttemptedEvent(
>         Object eventSource,
>         RelNode rel,
>         RelOptRuleCall ruleCall,
>         boolean before) {
>       super(eventSource, rel, ruleCall);
>       this.before = before;
>     }
>     public boolean isBefore() {
>       return before;
>     }
>   }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to