Reads a schema from an XSD as a string.
Reads a schema from an XSD as a string. Note that if the schema consists of one complex parent type which you want to use as the row tag schema, then you will need to extract the schema of the single resulting struct in the resulting StructType, and use its StructType as your schema.
XSD as a string
Spark-compatible schema
Reads a schema from an XSD file.
Reads a schema from an XSD file. Note that if the schema consists of one complex parent type which you want to use as the row tag schema, then you will need to extract the schema of the single resulting struct in the resulting StructType, and use its StructType as your schema.
XSD file
Spark-compatible schema
Reads a schema from an XSD file.
Reads a schema from an XSD file. Note that if the schema consists of one complex parent type which you want to use as the row tag schema, then you will need to extract the schema of the single resulting struct in the resulting StructType, and use its StructType as your schema.
XSD file
Spark-compatible schema
Utility to generate a Spark schema from an XSD. Not all XSD schemas are simple tabular schemas, so not all elements or XSDs are supported.