Asset Dataset

Asset Dataset

Certified

A dataset stored outside of a database table.

Declares a dataset that a task writes outside of a database table, such as files in a data lake. system, location and format 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.Dataset

Register the dataset a task has written.

yaml
id: export_trips
namespace: company.data

tasks:
  - id: export
    type: io.kestra.plugin.core.log.Log
    message: Exporting trips
    assets:
      outputs:
        - type: io.kestra.plugin.ee.assets.Dataset
          id: trips
          system: s3
          location: s3://company-lake/trips/
          format: parquet
Properties

The format of the data, for example parquet or csv.

Where the dataset is stored, for example a bucket prefix.

The system storing the dataset, for example s3 or gcs.