r - Error: length(cols) > 0 is not TRUE on SparkR agg function -
i try group dataframe column:
>sparkr::agg(sparkr::groupby(df, "column_1"))
why following error:
error: length(cols) > 0 not true
i found out kind of error (see one) relates parameters provided function (here: agg). missed specifying output column:
sparkr::agg(sparkr::groupby(df, "column_1"), "column_1")
Comments
Post a Comment