-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-3176] Implement 'ABS and 'LAST' for sql #2099
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
Conversation
Can one of the admins verify this patch? |
} | ||
|
||
override def eval(input: Row): Any = if (result != null) expr.eval(result.asInstanceOf[Row]) else 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.
End files with new lines. (Run sbt/sbt scalastyle
to check for these types of style violations).
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.
Ok. BTW, need I create a new pull request? Or just updating this branch?
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.
Updating the branch will automatically include new commits in this pull request.
Thanks for working on this! I made a few comments on the implementation. |
I have made some changes according to the comments. |
ok to test |
QA tests have started for PR 2099 at commit
|
QA tests have finished for PR 2099 at commit
|
May I know in which test cases do we failed? |
The link to the test results is in Spark QA's latest message: "QA tests have finished" It looks like you have a Scala style problem. You can run tests locally by running |
Thank you! Fixed this code style issue. |
QA tests have started for PR 2099 at commit
|
QA tests have finished for PR 2099 at commit
|
The implementation of |
OK. Thus, I should remove the POWER part from this pull request and create another pull request which includes the POWER, correct? Need I also split the issue on Jira? |
Yes please. We try to keep one JIRA to one PR in generall. |
I have split the POWER to PR #2252, Jira number is 3379 |
QA tests have started for PR 2099 at commit
|
QA tests have finished for PR 2099 at commit
|
Mind fixing the title to remove Power? |
Sorry, I forgot |
Can one of the admins verify this patch? |
Mind fixing the conflict so we can merge this? Thanks! |
ok to test |
QA tests have started for PR 2099 at commit
|
QA tests have finished for PR 2099 at commit
|
Why it fails while I only changed the name of title? |
The test failure was unrelated. I resolved the conflict and tested locally. Merged to master. Thanks! |
Add support for the mathematical function"ABS" and the analytic function "last" to return a subset of the rows satisfying a query within spark sql. Test-cases included.