Back to Redis

Remove Field

content/integrate/redis-data-integration/reference/data-transformation/remove_field.md

latest1.2 KB
Original Source

Remove fields

Option 1 (alternative): Remove multiple fields

Properties

NameTypeDescriptionRequired
fieldsobject[]Fields
yes

Additional Properties: not allowed

Example

yaml
source:
  schema: dbo
  table: emp
transform:
  - uses: remove_field
    with:
      fields:
        - field: credit_card
        - field: name.mname

Option 2 (alternative): Remove one field

Properties

NameTypeDescriptionRequired
fieldstringField
yes

Additional Properties: not allowed
Example

yaml
source:
  schema: dbo
  table: emp
transform:
  - uses: remove_field
    with:
      field: credit_card

<a name="option1fields"></a>

Option 1: fields[]: array

Fields

Items

Item Properties

NameTypeDescriptionRequired
fieldstringField
yes

Item Additional Properties: not allowed

Example

yaml
- {}