Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

Followup of #38692. To follow other APIs in SparkSessionExtensions, the name should be inject...Rule and build...Rules.

Why are the changes needed?

typo fix

Does this PR introduce any user-facing change?

not a released API

How was this patch tested?

n/a

@cloud-fan
Copy link
Contributor Author

cc @viirya

@github-actions github-actions bot added the SQL label Nov 23, 2022
* the result of the LogicalPlan.
*/
def injectPlanNormalizationRules(builder: RuleBuilder): Unit = {
def injectPlanNormalizationRule(builder: RuleBuilder): Unit = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about the comment above. It mentions rules too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! I checked other APIs and they use rules in the doc as well. It probably means all the rule that were added by this API.

@HyukjinKwon HyukjinKwon changed the title [SPARK-41183][SQL][FOLLOWUP] Fix a typo [SPARK-41183][SQL][FOLLOWUP] Change the name from injectPlanNormalizationRules to injectPlanNormalizationRule Nov 24, 2022
@HyukjinKwon
Copy link
Member

Merged to master.

beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 15, 2022
…tionRules to injectPlanNormalizationRule

### What changes were proposed in this pull request?

Followup of apache#38692. To follow other APIs in `SparkSessionExtensions`, the name should be `inject...Rule` and `build...Rules`.

### Why are the changes needed?

typo fix

### Does this PR introduce _any_ user-facing change?

not a released API

### How was this patch tested?

n/a

Closes apache#38767 from cloud-fan/small.

Authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
beliefer pushed a commit to beliefer/spark that referenced this pull request Dec 18, 2022
…tionRules to injectPlanNormalizationRule

### What changes were proposed in this pull request?

Followup of apache#38692. To follow other APIs in `SparkSessionExtensions`, the name should be `inject...Rule` and `build...Rules`.

### Why are the changes needed?

typo fix

### Does this PR introduce _any_ user-facing change?

not a released API

### How was this patch tested?

n/a

Closes apache#38767 from cloud-fan/small.

Authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants