PsDataFactory

PsDataFactory is a PowerShell module to generate DataFactory pipelines and datasets.

View the Project on GitHub abbgrade/PsDataFactory

Add-AdfColumnMapping

SYNOPSIS

Adds a source-to-sink column mapping to a tabular translator.

SYNTAX

Add-AdfColumnMapping -Translator <PSObject> [-Source] <String> [-Sink] <String>
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Adds an entry to the translator’s columnMappings collection, using the supplied source and sink column names.

EXAMPLES

EXAMPLE 1

$translator | Add-AdfColumnMapping -Source 'sourceId' -Sink 'targetId'
Maps the source column to the named sink column.

PARAMETERS

-Translator

The tabular translator to update.

Type: PSObject
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Source

The source column name.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Sink

The sink column name.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

https://abbgrade.github.io/PsDataFactory/docs/Add-AdfColumnMapping.html

https://learn.microsoft.com/en-us/rest/api/datafactory/pipelines/create-or-update?view=rest-datafactory-2018-06-01