Skip to content

Conversation

@yutoacts
Copy link
Contributor

@yutoacts yutoacts commented Sep 7, 2021

What changes were proposed in this pull request?

Add cotangent as an R function.

Why are the changes needed?

My previous PR (#33906) missed R support.

Does this PR introduce any user-facing change?

Yes, users can now call the cotangent function as an R function.

How was this patch tested?

unit tests.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

#' @rdname column_math_functions
#' @aliases cot cot,Column-method
#' @note cot since 3.3.0
setMethod("cot",
Copy link
Member

Choose a reason for hiding this comment

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

I think you should also add it into R/pkg/R/generics.R, and add a simple test at R/pkg/tests/fulltests/test_sparkSQL.R.

Also, let's create a separate JIRA for this one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, just added.
So, if I add a new function, should I make a JIRA ticket and PR separately just for R implementation?

@yutoacts yutoacts changed the title [SPARK-36660][R][FOLLOW-UP] Add cot as an R function [SPARK-36688][R] Add cot as an R function Sep 8, 2021
@HyukjinKwon
Copy link
Member

Merged to master.

@yutoacts yutoacts deleted the SPARK-36660 branch September 8, 2021 05:21
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.

3 participants