다음을 통해 공유


Functions.SchemaOfJson 메서드

정의

오버로드

SchemaOfJson(Column)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

SchemaOfJson(String)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

SchemaOfJson(Column, Dictionary<String,String>)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

SchemaOfJson(Column)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column SchemaOfJson(Microsoft.Spark.Sql.Column json);
[<Microsoft.Spark.Since("2.4.0")>]
static member SchemaOfJson : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfJson (json As Column) As Column

매개 변수

json
Column

JSON 문자열을 포함하는 문자열 리터럴입니다.

반환

Column 개체

특성

적용 대상

SchemaOfJson(String)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

[Microsoft.Spark.Since("2.4.0")]
public static Microsoft.Spark.Sql.Column SchemaOfJson(string json);
[<Microsoft.Spark.Since("2.4.0")>]
static member SchemaOfJson : string -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfJson (json As String) As Column

매개 변수

json
String

JSON 문자열

반환

Column 개체

특성

적용 대상

SchemaOfJson(Column, Dictionary<String,String>)

JSON 문자열을 구문 분석하고 해당 스키마를 DDL 형식으로 유추합니다.

[Microsoft.Spark.Since("3.0.0")]
public static Microsoft.Spark.Sql.Column SchemaOfJson(Microsoft.Spark.Sql.Column json, System.Collections.Generic.Dictionary<string,string> options);
[<Microsoft.Spark.Since("3.0.0")>]
static member SchemaOfJson : Microsoft.Spark.Sql.Column * System.Collections.Generic.Dictionary<string, string> -> Microsoft.Spark.Sql.Column
Public Shared Function SchemaOfJson (json As Column, options As Dictionary(Of String, String)) As Column

매개 변수

json
Column

JSON 문자열을 포함하는 문자열 리터럴입니다.

options
Dictionary<String,String>

json 구문 분석 방법을 제어하는 옵션입니다.

반환

Column 개체

특성

적용 대상