Asset 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.Table

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: orders
Properties

The database the table belongs to.

The name of the table.

The schema the table belongs to.

The database system, for example postgres, snowflake or bigquery.