ordererd_union_data - ObjectVision/GeoDMS GitHub Wiki

Relational functions ordererd_union_data

syntax

  • ordererd_union_data(unit, a, b, ...)

definition

ordererd_union_data works as union_data and additionally guarantees that the values keep the order of the arguments: first all values of a, then all values of b, etc.

Note: the operator name is registered with this spelling (sic); see GeoDMS issue 1168 for the rename of the misspelled name.

example

unit<uint32> A2: nrofrows = 2 { attribute<uint32> v: [10, 20]; }
unit<uint32> B1: nrofrows = 1 { attribute<uint32> v: [30]; }
unit<uint32> UU: nrofrows = 3;
attribute<uint32> ou (UU) := ordererd_union_data(UU, A2/v, B1/v);

result: ou = [10, 20, 30]

see also

⚠️ **GitHub.com Fallback** ⚠️