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
| Name | Type | Description |
|---|---|---|
| path | storage.DataReference | The data reference (URI) pointing to the location of the structured dataset. This specifies where the data can be accessed. |
| columns | []*core.StructuredDatasetType_DatasetColumn | A slice of column definitions for the structured dataset. Each definition describes a column's name, type, and other relevant metadata. |
| format | string | The format of the structured dataset (e.g., "csv", "parquet"). This informs how the data should be parsed or interpreted. |
Returns
| Type | Description |
|---|---|
*core.Literal | A pointer to a core.Literal object configured to represent the structured dataset. |