Functions.MapFromArrays(Column, 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. The array in the first column is used for keys. The array in the second column is used for values. All elements in the array for key should not be null.
[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column MapFromArrays(Microsoft.Spark.Sql.Column key, Microsoft.Spark.Sql.Column values);
[<Microsoft.Spark.Since("2.4.0")>]
static member MapFromArrays : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function MapFromArrays (key As Column, values As Column) As Column
Parameters
- key
- Column
Column expression for key
- values
- Column
Column expression for values
Returns
Column object
- Attributes