Changeset: 88d6c0777aaa for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=88d6c0777aaa Modified Files: clients/R/MonetDB.R/R/dplyr.R Branch: default Log Message:
R Connector: Fixes for dplyr backend diffs (13 lines): diff --git a/clients/R/MonetDB.R/R/dplyr.R b/clients/R/MonetDB.R/R/dplyr.R --- a/clients/R/MonetDB.R/R/dplyr.R +++ b/clients/R/MonetDB.R/R/dplyr.R @@ -13,7 +13,8 @@ src_translate_env.src_monetdb <- functio n = function() dplyr::sql("COUNT(*)"), sd = dplyr::sql_prefix("STDDEV_SAMP"), var = dplyr::sql_prefix("VAR_SAMP"), - median = dplyr::sql_prefix("MEDIAN") + median = dplyr::sql_prefix("MEDIAN"), + n_distinct = function(x) {build_sql(sql("count(distinct "),x,sql(")"))} ) ) } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list