Skip to main content

MakeLiteralForStructuredDataSet

No overview available.

def MakeLiteralForStructuredDataSet(
path: storage.DataReference,
columns: []*core.StructuredDatasetType_DatasetColumn,
format: string
) - > *core.Literal

Constructs a Literal object representing a structured dataset, encapsulating its URI, column definitions, and format. This function is used to create a standardized representation of structured data for API interactions or internal processing.

Parameters

NameTypeDescription
pathstorage.DataReferenceThe data reference (URI) pointing to the location of the structured dataset. This specifies where the data can be accessed.
columns[]*core.StructuredDatasetType_DatasetColumnA slice of column definitions for the structured dataset. Each definition describes a column's name, type, and other relevant metadata.
formatstringThe format of the structured dataset (e.g., "csv", "parquet"). This informs how the data should be parsed or interpreted.

Returns

TypeDescription
*core.LiteralA pointer to a core.Literal object configured to represent the structured dataset.