-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-4536][SQL] Add sqrt and abs to Spark SQL DSL #3401
Conversation
Test build #23720 has started for PR 3401 at commit
|
Test build #23720 has finished for PR 3401 at commit
|
Test PASSed. |
Test build #23962 has started for PR 3401 at commit
|
Test build #23962 has finished for PR 3401 at commit
|
Test PASSed. |
) | ||
|
||
checkAnswer( | ||
testData.select(upper(Literal(null, NullType))), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: This can just be Literal(null)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've modified.
Test build #24015 has started for PR 3401 at commit
|
Test build #24015 has finished for PR 3401 at commit
|
Test FAILed. |
bc5f4cb
to
07700cf
Compare
Test build #24016 has started for PR 3401 at commit
|
Test build #24016 has finished for PR 3401 at commit
|
Test PASSed. |
Spark SQL has embeded sqrt and abs but DSL doesn't support those functions. Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp> Closes #3401 from sarutak/dsl-missing-operator and squashes the following commits: 07700cf [Kousuke Saruta] Modified Literal(null, NullType) to Literal(null) in DslQuerySuite 8f366f8 [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into dsl-missing-operator 1b88e2e [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into dsl-missing-operator 0396f89 [Kousuke Saruta] Added sqrt and abs to Spark SQL DSL (cherry picked from commit e75e04f) Signed-off-by: Michael Armbrust <michael@databricks.com>
Thanks! Merged to master and 1.2. |
Spark SQL has embeded sqrt and abs but DSL doesn't support those functions.