Functions.Array 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.
Overloads
Array(String, String[]) |
Creates a new array column. The input columns must all have the same data type. |
Array(Column[]) |
Creates a new array column. The input columns must all have the same data type. |
Array(String, String[])
Creates a new array column. The input columns must all have the same data type.
public static Microsoft.Spark.Sql.Column Array (string columnName, params string[] columnNames);
static member Array : string * string[] -> Microsoft.Spark.Sql.Column
Public Shared Function Array (columnName As String, ParamArray columnNames As String()) As Column
Parameters
- columnName
- String
Column name
- columnNames
- String[]
Additional column names
Returns
Column object
Applies to
Array(Column[])
Creates a new array column. The input columns must all have the same data type.
public static Microsoft.Spark.Sql.Column Array (params Microsoft.Spark.Sql.Column[] columns);
static member Array : Microsoft.Spark.Sql.Column[] -> Microsoft.Spark.Sql.Column
Public Shared Function Array (ParamArray columns As Column()) As Column
Parameters
- columns
- Column[]
Columns to apply
Returns
Column object