====== Calc Lookup Table Union ====== ===== Description ===== Calculates the lookup table that is the union of two lookup tables. ===== Inputs ===== ^ Name ^ Type ^ Description ^ | First Table | [[Lookup Table Type]] | The first lookup table. | | Second Table | [[Lookup Table Type]] | The second lookup table. | ===== Optional Inputs ===== ^ Name ^ Type ^ Description ^ Default Value ^ | Use First Table To Solve Duplicated Key | [[Boolean Value Type]] | If true, and a key occurs in both tables, the value from First Table is kept; if false, the value from Second Table is kept instead. | True | ===== Outputs ===== ^ Name ^ Type ^ Description ^ | Result | [[Lookup Table Type]] | The resulting lookup table, containing every key present in First Table or Second Table (or both). | ===== Group ===== [[Functor List#Lookup Table | Lookup Table]] ===== Notes ===== The key and value column names of Result are inherited from First Table. For background on this operation, see [[https://en.wikipedia.org/wiki/Union_(set_theory)|set union]]. ===== Internal Name ===== CalcLookupTableUnion