본문으로 건너뛰기

RenameCastTransform

The rename_cast member of the PipelineTransform union.

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

Config for the rename_cast op. Listed columns are renamed / cast; columns not listed pass through unchanged. input is a port key.

inputInput (string)필수

Input port key

columns object[]필수

Column rename / cast rules (non-empty)

  • Array [
  • nameName (string)필수

    Source column name

    alias object

    New column name (defaults to name)

    하나 이상(anyOf)
    string
    cast object

    Allowlisted target type

    하나 이상(anyOf)
    string

    Possible values: [utf8, int64, float64, bool]

  • ]
  • RenameCastTransform
    {
    "version": 1,
    "op": "rename_cast",
    "config": {
    "input": "string",
    "columns": [
    {
    "name": "string",
    "alias": "string",
    "cast": "utf8"
    }
    ]
    }
    }