Skip to content
Snippets Groups Projects
Commit 96e947ed authored by gatorsmile's avatar gatorsmile Committed by Wenchen Fan
Browse files

[SPARK-22569][SQL] Clean usage of addMutableState and splitExpressions

## What changes were proposed in this pull request?
This PR is to clean the usage of addMutableState and splitExpressions

1. replace hardcoded type string to ctx.JAVA_BOOLEAN etc.
2. create a default value of the initCode for ctx.addMutableStats
3. Use named arguments when calling `splitExpressions `

## How was this patch tested?
The existing test cases

Author: gatorsmile <gatorsmile@gmail.com>

Closes #19790 from gatorsmile/codeClean.
parent 9bdff0bc
No related branches found
No related tags found
No related merge requests found
Showing
with 104 additions and 83 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment