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