Add one Snowflake-backed datasets, using an account that exists. This will create the Securable and Column entities and make them available for querying. The fields to be specified are:
Connection ID: The ID of the Connection. Retrieve the ID to specify as detailed here
action: create
provider: snowflake
datasets: array of one or multiple datasets you would like to add.
For direct table import, specify a concatenation of a database, schema and table identifier, separated by dots '.' (i.e. database.schema.table ).
For SQL datasets, specify an object containing the name and SQL for the dataset.
npm install @luzmo/nodejs-sdk{
"count": 1,
"data": [
{
"rows": 0,
"featured": false,
"modified_at": "2024-08-01T15:00:18.740Z",
"cache": 0,
"uses_clickhouse_experimental": false,
"meta_sync_interval": 1,
"meta_sync_inherit": true,
"meta_sync_enabled": true,
"id": "6028ba99-e746-494b-a7c1-cd0a85ee7778",
"type": "dataset",
"description": {
"en": ""
},
"account_id": "cb002dd1-5550-4726-a5bd-4d2b601d505d",
"source_dataset": "cb002dd1-5550-4726-a5bd-4d2b601d505d",
"subtype": "snowflake",
"storage": "client",
"source_sheet": "unitedwidgets.public.orders",
"name": {
"en": "unitedwidgets - PUBLIC - ORDERS"
},
"updated_at": "2024-08-01T15:00:18.951Z",
"created_at": "2024-08-01T15:00:18.740Z",
"contents": null,
"css": null,
"transformation": null,
"subtitle": null,
"source_query": null,
"is_variant": false,
"migrated_rows": null,
"last_metadata_sync_at": null,
"last_metadata_sync_attempt_at": "2024-08-01T15:00:18.740Z",
"original_id": null,
"acceleration_id": null,
"template_id": null,
"modifier_id": "abca9830-0dad-4b11-a6d4-23972c124020",
"owner_id": "abca9830-0dad-4b11-a6d4-23972c124020",
"source_template_id": null
}
]
}