Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.39 KB

File metadata and controls

22 lines (17 loc) · 1.39 KB

DatasetFieldSchema

A field in a Foundry dataset.

Properties

Name Type Required Description
type SchemaFieldType Yes
name Optional[FieldName] No The name of a column. May be absent in nested schema objects.
nullable bool Yes Indicates whether values of this field may be null.
user_defined_type_class Optional[str] No Canonical classname of the user-defined type for this field. This should be a subclass of Spark's UserDefinedType.
custom_metadata Optional[CustomMetadata] No User-supplied custom metadata about the column, such as Foundry web archetypes, descriptions, etc.
array_subtype Optional[DatasetFieldSchema] No Only used when field type is array.
precision Optional[int] No Only used when field type is decimal.
scale Optional[int] No Only used when field type is decimal.
map_key_type Optional[DatasetFieldSchema] No Only used when field type is map.
map_value_type Optional[DatasetFieldSchema] No Only used when field type is map.
sub_schemas Optional[List[DatasetFieldSchema]] No Only used when field type is struct.

[Back to Model list] [Back to API list] [Back to README]