Uh oh!
There was an error while loading. Please reload this page.
[SPARK-31476][SQL] Add an ExpressionInfo entry for EXTRACT - #28251
[SPARK-31476][SQL] Add an ExpressionInfo entry for EXTRACT#28251maropu wants to merge 2 commits into
Conversation
SparkQA
commented
Apr 18, 2020
Test build #121436 has finished for PR 28251 at commit
|
dongjoon-hyun
commented
Apr 18, 2020
Could you regenerate |
maropu
commented
Apr 18, 2020
Ah, yes. I'm updating now. Thanks for the check, anyway. |
SparkQA
commented
Apr 18, 2020
Test build #121444 has finished for PR 28251 at commit
|
maropu
commented
Apr 18, 2020
retest this please |
SparkQA
commented
Apr 18, 2020
Test build #121446 has finished for PR 28251 at commit
|
dongjoon-hyun
commented
Apr 18, 2020
cc @gatorsmile |
dongjoon-hyun
commented
Apr 18, 2020
Merged to master/3.0. Thank you, @maropu . |
### What changes were proposed in this pull request? This PR intends to add an ExpressionInfo entry for EXTRACT for better documentations. This PR comes from the comment in #21479 (comment) ### Why are the changes needed? To make SQL documentations complete. ### Does this PR introduce any user-facing change? Yes, this PR updates the `Spark SQL, Built-in Functions` page. ### How was this patch tested? Run the example tests. Closes#28251 from maropu/AddExtractExpr. Authored-by: Takeshi Yamamuro <yamamuro@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 74aed8c) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
maropu
commented
Apr 18, 2020
Thanks for the quick response, @dongjoon-hyun ! cc: @cloud-fan |
| expression[MakeTimestamp]("make_timestamp"), | ||
| expression[MakeInterval]("make_interval"), | ||
| expression[DatePart]("date_part"), | ||
| expression[Extract]("extract"), |
There was a problem hiding this comment.
one side effect is now we support extract(field, source) other than extract(field from source). Not a big deal but better if we can avoid exposing more APIs,
There was a problem hiding this comment.
Not a big deal but better if we can avoid exposing more APIs
Yea, +1 .
btw, its better to add tests for the case extract(field, source)?
There was a problem hiding this comment.
Yea if we decide to support it.
What changes were proposed in this pull request?
This PR intends to add an ExpressionInfo entry for EXTRACT for better documentations.
This PR comes from the comment in #21479 (comment)
Why are the changes needed?
To make SQL documentations complete.
Does this PR introduce any user-facing change?
Yes, this PR updates the
Spark SQL, Built-in Functionspage.How was this patch tested?
Run the example tests.