AbsaOSS / AbsaOSS/enceladus

Multiple outputs from Mapping Table

Aperta
#1,648 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Conformance Epic feature Menas priority: medium Streaming UX
Lingua principale
Scala
Stelle
33
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Background
Sometimes you might need 2 columns from the mapping table in your dataset.

## Feature
Allow Mapping Table CR to have an output of more than one column

## Example [Optional]
Mapping on ClientID column, wanting to take away name and surname from the MappingTable.

## Proposed Solution [Optional]
```scala
case class MappingConformanceRule(
order: Int,
controlCheckpoint: Boolean,
mappingTable: String,
mappingTableVersion: Int,
attributeMappings: Map[String, String], //key = mapping table column, value = input df column
targetAttribute: Array[String], // <----
outputColumn: Array[String], // <----
isNullSafe: Boolean = false) extends ConformanceRule
```

## Question
Would other rules benefit from this?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.