Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
calc_lookup_table_union [2013/07/18 19:52]
127.0.0.1 external edit
calc_lookup_table_union [2026/08/28 03:11] (current)
hermann Sync from local documentation review
Line 1: Line 1:
-====== Calc Lookup Table Union ====== ​+====== Calc Lookup Table Union ======
  
 ===== Description ===== ===== Description =====
  
-This functor calculates a lookup table that is the union of two lookup tables.+Calculates the lookup table that is the union of two lookup tables.
  
 ===== Inputs ===== ===== Inputs =====
  
-^ Name          ^ Type                                  ^ Description ​              ​+^ Name  ^ Type  ^ Description ​ 
-| First Table   ​| [[Lookup Table Type|Lookup Table  ​]]  | The first lookup table. ​  ​+| First Table  | [[Lookup Table Type]] ​ | The first lookup table. ​ 
-| Second Table  | [[Lookup Table Type|Lookup Table  ​]]  | The second lookup table. ​ |+| Second Table  | [[Lookup Table Type]] ​ | The second lookup table. ​ |
  
 ===== Optional Inputs ===== ===== Optional Inputs =====
  
-^ Name                                     ​^ Type                  ^ Description ​                                                                                                                              ​^ Default Value ^ +^ Name  ^ Type  ^ Description ​ ^ Default Value  
-use First Table To Solve Duplicated Key  | [[Bool Type|Bool  ​]]  | If true, in the case of duplicated keys, the value of the first table is selectedotherwise, the value of the second table is selected.  | True          |+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 keptif false, the value from Second Table is kept instead.  | True  |
  
-===== Output ​=====+===== Outputs ​=====
  
-^ Name     ​^ Type                                  ^ Description ​                 +^ Name  ^ Type  ^ Description ​ 
-result ​  | [[Lookup Table Type|Lookup Table  ​]]  | The resulting lookup table. ​ |+Result  ​| [[Lookup Table Type]] ​ | The resulting lookup table, containing every key present in First Table or Second Table (or both).  |
  
 ===== Group ===== ===== Group =====
  
-[[Functor List#Table | Table]]+[[Functor List#Lookup ​Table | Lookup ​Table]]
  
 ===== Notes ===== ===== Notes =====
  
-The column names from the first input table are assigned to the output table.+The key and value column names of Result ​are inherited from First Table.
  
-For further information about set intersection, see [[wp>​Set_union]].+For background on this operation, see [[https://​en.wikipedia.org/​wiki/​Union_(set_theory)|set union]].
  
 ===== Internal Name ===== ===== Internal Name =====