currently there is & which is a union operator on the key value pairs. The default should probably rather be a disjoint union that throws a type error in case of overlap.
Overview of useful operators that should be implemented
- Union, rhs fields replace lhs fields (currently implemented as
&)
- Disjoint Union, e.g.
|
- Intersection, e.g.
&
- Minus, e.g.
r \ (select field1 & field2) or r(remove field1 & field2) or
- Recursive Union, struct fields merge, non-struct fields replace
currently there is
&which is a union operator on the key value pairs. The default should probably rather be a disjoint union that throws a type error in case of overlap.Overview of useful operators that should be implemented
&)|&r \ (select field1 & field2)orr(remove field1 & field2)or