Alias Mapping#
Provides a new name for an existing mapping. This may be helpful for placeholders to be replaced later.
Example#
mappings:
facts_bidding:
kind: alias
input: facts_all
Fields#
kind
(mandatory) (string):alias
broadcast
(optional) (type: boolean) (default: false): Hint for broadcasting the result of this mapping for map-side joins.cache
(optional) (type: string) (default: NONE): Cache mode for the results of this mapping. Supported values areNONE
- Disables caching of teh results of this mappingDISK_ONLY
- Caches the results on diskMEMORY_ONLY
- Caches the results in memory. If not enough memory is available, records will be uncached.MEMORY_ONLY_SER
- Caches the results in memory in a serialized format. If not enough memory is available, records will be uncached.MEMORY_AND_DISK
- Caches the results first in memory and then spills to disk.MEMORY_AND_DISK_SER
- Caches the results first in memory in a serialized format and then spills to disk.
input
(mandatory) (string):
Outputs#
main
- the only output of the mapping
Description#
An alias mapping simply provides an additional name to the input mapping.