Github user sun-rui commented on the pull request:
https://github.com/apache/spark/pull/7356#issuecomment-121848726
@viirya,
1. Why pass the lower bound and upper bound in a vector instead of pass
separately? They are passed separately in Scala API. and A vector can not hold
complex types (at least a list is expected).
2. Instead of writing R wrapper functions individually for each method of
Scala Column, currently Column.R dynamically creates wrapper function using
template. Is it possible to use the same mechanism for supporting between?
something like:
column_functions3 <- c("between")
createColumnFunction3 <- function(name) {
setMethod(name,
signature(x = "Column"),
function(x, arg1, arg2) {
... # some check of arg1/arg2
jc <- callJMethod(x@jc, name, arg1, arg2)
column(jc)
})
}
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]