generateAliasesForIntersectedCols {SparkR} | R Documentation |
Creates a list of columns by replacing the intersected ones with aliases. The name of the alias column is formed by concatanating the original column name and a suffix.
generateAliasesForIntersectedCols(x, intersectedColNames, suffix)
x |
a SparkDataFrame |
intersectedColNames |
a list of intersected column names of the SparkDataFrame |
suffix |
a suffix for the column name |
list of columns
generateAliasesForIntersectedCols since 1.6.0