{
  "id": "remove_field",
  "title": "remove_field",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/data-transformation/remove_field/",
  "summary": "Remove fields",
  "tags": [
    "docs",
    "integrate",
    "rs",
    "rdi"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "3f398800a67633cbbd3726fb99cfe6e67491b300373e3a31f117dd19ceed1bf4",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Remove fields\n\n**Option 1 (alternative):**\nRemove multiple fields\n\n**Properties**\n\n| Name                         | Type       | Description | Required |\n| ---------------------------- | ---------- | ----------- | -------- |\n| [**fields**](#option1fields) | `object[]` | Fields<br/> | yes      |\n\n**Additional Properties:** not allowed\n\n**Example**\n\n[code example]\n\n**Option 2 (alternative):**\nRemove one field\n\n**Properties**\n\n| Name      | Type     | Description | Required |\n| --------- | -------- | ----------- | -------- |\n| **field** | `string` | Field<br/>  | yes      |\n\n**Additional Properties:** not allowed  \n**Example**\n\n[code example]\n\n<a name=\"option1fields\"></a>"
    },
    {
      "id": "option-1-fields-array",
      "title": "Option 1: fields\\[\\]: array",
      "role": "parameters",
      "text": "Fields\n\n**Items**\n\n**Item Properties**\n\n| Name      | Type     | Description | Required |\n| --------- | -------- | ----------- | -------- |\n| **field** | `string` | Field<br/>  | yes      |\n\n**Item Additional Properties:** not allowed\n\n**Example**\n\n[code example]"
    }
  ],
  "examples": [
    {
      "id": "overview-ex0",
      "language": "yaml",
      "code": "source:\n  schema: dbo\n  table: emp\ntransform:\n  - uses: remove_field\n    with:\n      fields:\n        - field: credit_card\n        - field: name.mname",
      "section_id": "overview"
    },
    {
      "id": "overview-ex1",
      "language": "yaml",
      "code": "source:\n  schema: dbo\n  table: emp\ntransform:\n  - uses: remove_field\n    with:\n      field: credit_card",
      "section_id": "overview"
    },
    {
      "id": "option-1-fields-array-ex0",
      "language": "yaml",
      "code": "- {}",
      "section_id": "option-1-fields-array"
    }
  ]
}
