blob: 2dc7e9f7d6f7166b4f14b4af15de1c5442860661 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
desc: Regression tests for issue #309, using 'union' on an array and a stream doesn't seem to work
table_variable_name: t
tests:
# Set up a stream
- cd: t.insert([{'id':0}, {'id':1}])
# Try to union to an array
- cd: t.union([2,3,4])
ot: bag([{'id':0}, {'id':1}, 2, 3, 4])
- cd: r.expr([2,3,4]).union(t)
ot: bag([{'id':0}, {'id':1}, 2, 3, 4])
|