Add one AWS Athena-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: amazonathena
datasets: array of one or multiple datasets that you would like to add. Each a concatenation of a database and table identifier, separated by a dot '.' (i.e. database.table )
npm install @luzmo/nodejs-sdk{
"count": 1,
"data": [
{
"rows": 0,
"featured": false,
"modified_at": "2024-08-14T13:32:22.821Z",
"cache": 0,
"uses_clickhouse_experimental": false,
"meta_sync_interval": 1,
"meta_sync_inherit": true,
"meta_sync_enabled": true,
"id": "3753e686-9fed-4c87-9a93-3f1c3190e7fd",
"type": "dataset",
"description": {
"en": "All columns within table tablename of schema databasename"
},
"account_id": "0d698d7f-1574-44c0-b72f-bab8b6cce5cb",
"source_dataset": "0d698d7f-1574-44c0-b72f-bab8b6cce5cb",
"subtype": "amazonathena",
"storage": "client",
"source_sheet": "databasename.tablename",
"name": {
"en": "tablename (databasename)"
},
"updated_at": "2024-08-14T13:32:22.833Z",
"created_at": "2024-08-14T13:32:22.821Z",
"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-14T13:32:22.822Z",
"original_id": null,
"acceleration_id": null,
"template_id": null,
"modifier_id": "adca9830-0dad-4b11-a6d4-23972c124020",
"owner_id": "adca9830-0dad-4b11-a6d4-23972c124020",
"source_template_id": null
}
]
}