본문으로 건너뛰기

PipelineStep

Shared request and response schema. Request: Pipeline step accepted in a definition. Exactly one of script or transform must be set. Transform configuration refers to inputs and outputs by port key, and transform steps cannot use secrets. Response: Pipeline step returned in a definition. Exactly one of script or transform is set. Transform configuration refers to inputs and outputs by port key, and transform steps do not use secrets.

nameName (string)필수

Step name

alias object
하나 이상(anyOf)
string
description object

Step-owned description, independent of the referenced Code's description so steps sharing one Code can be labeled distinctly.

하나 이상(anyOf)
string
script object

Code resource ID to execute (code step)

하나 이상(anyOf)
string
transform object

Native transform spec (transform step)

하나 이상(anyOf)
op필수

Possible values: [aggregate, join, rename_cast, select_filter, union]

versionVersion (integer)
상수 값: 1
기본값: 1
config object필수

Config for the aggregate op: group-by + allowlisted aggregate functions. An empty group_by aggregates the whole input to a single row. input is a port key.

inputInput (string)필수

Input port key

group_bystring[]

Grouping columns (empty = whole-input aggregate)

aggregations object[]필수

Aggregations (non-empty)

  • Array [
  • functionFunction (string)필수

    Allowlisted aggregate function

    Possible values: [sum, count, avg, min, max]

    column object

    Aggregated column (omit only for count)

    하나 이상(anyOf)
    string
    aliasAlias (string)필수

    Output column name

  • ]
  • inputs object

    Input dataset mapping

    하나 이상(anyOf)
    object
    outputs object

    Output dataset mapping

    하나 이상(anyOf)
    object
    dependencies object

    List of dependent step names

    하나 이상(anyOf)
  • Array [
  • string
  • ]
  • options object
    하나 이상(anyOf)
    object
    secrets object

    Secret values to inject into contexts['secrets']

    하나 이상(anyOf)
  • Array [
  • nameName (string)필수

    contexts['secrets'] key the step reads

    refRef (string)필수

    Secret reference, e.g. secret://secret./token

  • ]
  • PipelineStep
    {
    "name": "string",
    "alias": "string",
    "description": "string",
    "script": "string",
    "transform": {
    "version": 1,
    "op": "select_filter",
    "config": {
    "input": "string",
    "columns": [
    {
    "name": "string",
    "alias": "string"
    }
    ],
    "where": {
    "kind": "and",
    "conditions": [
    {
    "kind": "condition",
    "column": "string",
    "operator": "eq"
    },
    null
    ]
    }
    }
    },
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ],
    "options": {},
    "secrets": [
    {
    "name": "string",
    "ref": "string"
    }
    ]
    }