Functions.Map(Column[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new map column.
public static Microsoft.Spark.Sql.Column Map(params Microsoft.Spark.Sql.Column[] columns);
static member Map : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.Column
Public Shared Function Map (ParamArray columns As Column()) As Column
Parameters
- columns
- Column[]
Columns to apply
Returns
Column object
Remarks
The input columns must be grouped as key-value pairs, e.g. (key1, value1, key2, value2, ...). The key columns must all have the same data type, and can't be null. The value columns must all have the same data type.