Asset Table
Certified
A database table.
Asset Table
Certified
A database table.
Declares a database table that a task creates or loads. system, database, schema and name are stored in the metadata of the asset, so they can be matched with metadataQuery on an asset trigger.
yaml
type: io.kestra.plugin.ee.assets.TableExamples
Register the table a task has created.
yaml
id: create_orders_table
namespace: company.data
tasks:
- id: create
type: io.kestra.plugin.core.log.Log
message: Creating analytics.public.orders
assets:
outputs:
- type: io.kestra.plugin.ee.assets.Table
id: analytics.public.orders
system: postgres
database: analytics
schema: public
name: ordersProperties
database string
The database the table belongs to.
name string
The name of the table.
schema string
The schema the table belongs to.
system string
The database system, for example postgres, snowflake or bigquery.