Functions.SchemaOfCsv 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
SchemaOfCsv(Column) |
Parses a CSV string and infers its schema in DDL format. |
SchemaOfCsv(String) |
Parses a CSV string and infers its schema in DDL format. |
SchemaOfCsv(Column, Dictionary<String,String>) |
Parses a CSV string and infers its schema in DDL format. |
SchemaOfCsv(Column)
Parses a CSV string and infers its schema in DDL format.
[Microsoft.Spark.Since("3.0.0")]
public static Microsoft.Spark.Sql.Column SchemaOfCsv (Microsoft.Spark.Sql.Column csv);
[<Microsoft.Spark.Since("3.0.0")>]
static member SchemaOfCsv : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfCsv (csv As Column) As Column
Parameters
- csv
- Column
CSV string to parse
Returns
Column object
- Attributes
Applies to
SchemaOfCsv(String)
Parses a CSV string and infers its schema in DDL format.
[Microsoft.Spark.Since("3.0.0")]
public static Microsoft.Spark.Sql.Column SchemaOfCsv (string csv);
[<Microsoft.Spark.Since("3.0.0")>]
static member SchemaOfCsv : string -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfCsv (csv As String) As Column
Parameters
- csv
- String
CSV string to parse
Returns
Column object
- Attributes
Applies to
SchemaOfCsv(Column, Dictionary<String,String>)
Parses a CSV string and infers its schema in DDL format.
[Microsoft.Spark.Since("3.0.0")]
public static Microsoft.Spark.Sql.Column SchemaOfCsv (Microsoft.Spark.Sql.Column csv, System.Collections.Generic.Dictionary<string,string> options);
[<Microsoft.Spark.Since("3.0.0")>]
static member SchemaOfCsv : Microsoft.Spark.Sql.Column * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfCsv (csv As Column, options As Dictionary(Of String, String)) As Column
Parameters
- csv
- Column
CSV string to parse
- options
- Dictionary<String,String>
Options to control how the CSV is parsed.
Returns
Column object
- Attributes