Skip to content

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.

dataType: DataType;

Defined in: types/schema.ts:22

Spark data type for the column.


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: boolean;

Defined in: types/schema.ts:24

Whether the column accepts null values.