FieldDescriptor
Defined in: types/schema.ts:19
Metadata for a single column: its name, type, nullability, and any free-form key/value annotations.
Mirrors Spark’s StructField. Used inside Schema and returned by
DataFrame.schema().
Properties
Section titled “Properties”dataType
Section titled “dataType”dataType: DataType;Defined in: types/schema.ts:23
Spark data type for the column.
metadata?
Section titled “metadata?”optional metadata?: Record<string, string>;Defined in: types/schema.ts:27
Optional free-form metadata attached to the field.
name: string;Defined in: types/schema.ts:21
Column name.
nullable
Section titled “nullable”nullable: boolean;Defined in: types/schema.ts:25
Whether the column accepts null values.