TestInterpreterOutputTrace( schema_name: "numbers", trace: Trace( ops: { Opid(1): TraceOp( opid: Opid(1), parent_opid: None, content: Call(ResolveStartingVertices(Vid(1))), ), Opid(2): TraceOp( opid: Opid(2), parent_opid: None, content: Call(ResolveProperty(Vid(1), "Number", "__typename")), ), Opid(3): TraceOp( opid: Opid(3), parent_opid: None, content: Call(ResolveNeighbors(Vid(1), "Number", Eid(1))), ), Opid(4): TraceOp( opid: Opid(4), parent_opid: None, content: Call(ResolveNeighbors(Vid(1), "Number", Eid(2))), ), Opid(5): TraceOp( opid: Opid(5), parent_opid: None, content: Call(ResolveProperty(Vid(3), "Composite", "name")), ), Opid(6): TraceOp( opid: Opid(6), parent_opid: None, content: Call(ResolveProperty(Vid(1), "Number", "name")), ), Opid(7): TraceOp( opid: Opid(7), parent_opid: None, content: Call(ResolveProperty(Vid(1), "Number", "value")), ), Opid(8): TraceOp( opid: Opid(8), parent_opid: Some(Opid(7)), content: AdvanceInputIterator, ), Opid(9): TraceOp( opid: Opid(9), parent_opid: Some(Opid(6)), content: AdvanceInputIterator, ), Opid(10): TraceOp( opid: Opid(10), parent_opid: Some(Opid(5)), content: AdvanceInputIterator, ), Opid(11): TraceOp( opid: Opid(11), parent_opid: Some(Opid(4)), content: AdvanceInputIterator, ), Opid(12): TraceOp( opid: Opid(12), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(13): TraceOp( opid: Opid(13), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(14): TraceOp( opid: Opid(14), parent_opid: Some(Opid(1)), content: YieldFrom(ResolveStartingVertices(Neither(NeitherNumber(1)))), ), Opid(15): TraceOp( opid: Opid(15), parent_opid: Some(Opid(2)), content: YieldInto(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: {}, )), ), Opid(16): TraceOp( opid: Opid(16), parent_opid: Some(Opid(2)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: {}, ), String("Neither"))), ), Opid(17): TraceOp( opid: Opid(17), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(18): TraceOp( opid: Opid(18), parent_opid: Some(Opid(1)), content: YieldFrom(ResolveStartingVertices(Prime(PrimeNumber(2)))), ), Opid(19): TraceOp( opid: Opid(19), parent_opid: Some(Opid(2)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: {}, )), ), Opid(20): TraceOp( opid: Opid(20), parent_opid: Some(Opid(2)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: {}, ), String("Prime"))), ), Opid(21): TraceOp( opid: Opid(21), parent_opid: Some(Opid(3)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, )), ), Opid(22): TraceOp( opid: Opid(22), parent_opid: Some(Opid(3)), content: YieldFrom(ResolveNeighborsOuter(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, ))), ), Opid(23): TraceOp( opid: Opid(23), parent_opid: Some(Opid(22)), content: YieldFrom(ResolveNeighborsInner(0, Neither(NeitherNumber(1)))), ), Opid(24): TraceOp( opid: Opid(24), parent_opid: Some(Opid(22)), content: OutputIteratorExhausted, ), Opid(25): TraceOp( opid: Opid(25), parent_opid: None, content: Call(ResolveProperty(Vid(2), "Number", "name")), ), Opid(26): TraceOp( opid: Opid(26), parent_opid: Some(Opid(25)), content: AdvanceInputIterator, ), Opid(27): TraceOp( opid: Opid(27), parent_opid: Some(Opid(25)), content: YieldInto(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, )), ), Opid(28): TraceOp( opid: Opid(28), parent_opid: Some(Opid(25)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), String("one"))), ), Opid(29): TraceOp( opid: Opid(29), parent_opid: Some(Opid(25)), content: AdvanceInputIterator, ), Opid(30): TraceOp( opid: Opid(30), parent_opid: Some(Opid(25)), content: InputIteratorExhausted, ), Opid(31): TraceOp( opid: Opid(31), parent_opid: Some(Opid(25)), content: OutputIteratorExhausted, ), Opid(32): TraceOp( opid: Opid(32), parent_opid: Some(Opid(4)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(33): TraceOp( opid: Opid(33), parent_opid: Some(Opid(4)), content: YieldFrom(ResolveNeighborsOuter(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ))), ), Opid(34): TraceOp( opid: Opid(34), parent_opid: Some(Opid(33)), content: YieldFrom(ResolveNeighborsInner(0, Composite(CompositeNumber(4, [ 2, ])))), ), Opid(35): TraceOp( opid: Opid(35), parent_opid: Some(Opid(5)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(36): TraceOp( opid: Opid(36), parent_opid: Some(Opid(5)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("four"))), ), Opid(37): TraceOp( opid: Opid(37), parent_opid: Some(Opid(6)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("four"), ], suspended_vertices: [ Some(Composite(CompositeNumber(4, [ 2, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(38): TraceOp( opid: Opid(38), parent_opid: Some(Opid(6)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("four"), ], suspended_vertices: [ Some(Composite(CompositeNumber(4, [ 2, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("two"))), ), Opid(39): TraceOp( opid: Opid(39), parent_opid: Some(Opid(6)), content: AdvanceInputIterator, ), Opid(40): TraceOp( opid: Opid(40), parent_opid: Some(Opid(5)), content: AdvanceInputIterator, ), Opid(41): TraceOp( opid: Opid(41), parent_opid: Some(Opid(33)), content: YieldFrom(ResolveNeighborsInner(1, Composite(CompositeNumber(6, [ 2, 3, ])))), ), Opid(42): TraceOp( opid: Opid(42), parent_opid: Some(Opid(5)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(6, [ 2, 3, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(43): TraceOp( opid: Opid(43), parent_opid: Some(Opid(5)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(6, [ 2, 3, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("six"))), ), Opid(44): TraceOp( opid: Opid(44), parent_opid: Some(Opid(6)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("six"), ], suspended_vertices: [ Some(Composite(CompositeNumber(6, [ 2, 3, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(45): TraceOp( opid: Opid(45), parent_opid: Some(Opid(6)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("six"), ], suspended_vertices: [ Some(Composite(CompositeNumber(6, [ 2, 3, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("two"))), ), Opid(46): TraceOp( opid: Opid(46), parent_opid: Some(Opid(6)), content: AdvanceInputIterator, ), Opid(47): TraceOp( opid: Opid(47), parent_opid: Some(Opid(5)), content: AdvanceInputIterator, ), Opid(48): TraceOp( opid: Opid(48), parent_opid: Some(Opid(33)), content: YieldFrom(ResolveNeighborsInner(2, Composite(CompositeNumber(8, [ 2, ])))), ), Opid(49): TraceOp( opid: Opid(49), parent_opid: Some(Opid(5)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(50): TraceOp( opid: Opid(50), parent_opid: Some(Opid(5)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(8, [ 2, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("eight"))), ), Opid(51): TraceOp( opid: Opid(51), parent_opid: Some(Opid(6)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("eight"), ], suspended_vertices: [ Some(Composite(CompositeNumber(8, [ 2, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(52): TraceOp( opid: Opid(52), parent_opid: Some(Opid(6)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("eight"), ], suspended_vertices: [ Some(Composite(CompositeNumber(8, [ 2, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("two"))), ), Opid(53): TraceOp( opid: Opid(53), parent_opid: Some(Opid(6)), content: AdvanceInputIterator, ), Opid(54): TraceOp( opid: Opid(54), parent_opid: Some(Opid(5)), content: AdvanceInputIterator, ), Opid(55): TraceOp( opid: Opid(55), parent_opid: Some(Opid(33)), content: YieldFrom(ResolveNeighborsInner(3, Composite(CompositeNumber(10, [ 2, 5, ])))), ), Opid(56): TraceOp( opid: Opid(56), parent_opid: Some(Opid(5)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(10, [ 2, 5, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(57): TraceOp( opid: Opid(57), parent_opid: Some(Opid(5)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(10, [ 2, 5, ]))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("ten"))), ), Opid(58): TraceOp( opid: Opid(58), parent_opid: Some(Opid(6)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("ten"), ], suspended_vertices: [ Some(Composite(CompositeNumber(10, [ 2, 5, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, )), ), Opid(59): TraceOp( opid: Opid(59), parent_opid: Some(Opid(6)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(1): Some(Prime(PrimeNumber(2))), }, values: [ String("ten"), ], suspended_vertices: [ Some(Composite(CompositeNumber(10, [ 2, 5, ]))), ], folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Neither(NeitherNumber(1))), vertices: { Vid(2): Some(Neither(NeitherNumber(1))), }, ), ]), }, folded_values: { (Eid(1), "name"): Some(Vec([ Value(String("one")), ])), }, ), String("two"))), ), Opid(60): TraceOp( opid: Opid(60), parent_opid: Some(Opid(6)), content: AdvanceInputIterator, ), Opid(61): TraceOp( opid: Opid(61), parent_opid: Some(Opid(5)), content: AdvanceInputIterator, ), Opid(62): TraceOp( opid: Opid(62), parent_opid: Some(Opid(33)), content: OutputIteratorExhausted, ), Opid(63): TraceOp( opid: Opid(63), parent_opid: Some(Opid(4)), content: AdvanceInputIterator, ), Opid(64): TraceOp( opid: Opid(64), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(65): TraceOp( opid: Opid(65), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(66): TraceOp( opid: Opid(66), parent_opid: Some(Opid(1)), content: OutputIteratorExhausted, ), Opid(67): TraceOp( opid: Opid(67), parent_opid: Some(Opid(2)), content: InputIteratorExhausted, ), Opid(68): TraceOp( opid: Opid(68), parent_opid: Some(Opid(2)), content: OutputIteratorExhausted, ), Opid(69): TraceOp( opid: Opid(69), parent_opid: Some(Opid(3)), content: InputIteratorExhausted, ), Opid(70): TraceOp( opid: Opid(70), parent_opid: Some(Opid(3)), content: OutputIteratorExhausted, ), Opid(71): TraceOp( opid: Opid(71), parent_opid: Some(Opid(4)), content: InputIteratorExhausted, ), Opid(72): TraceOp( opid: Opid(72), parent_opid: Some(Opid(4)), content: OutputIteratorExhausted, ), Opid(73): TraceOp( opid: Opid(73), parent_opid: Some(Opid(5)), content: InputIteratorExhausted, ), Opid(74): TraceOp( opid: Opid(74), parent_opid: Some(Opid(5)), content: OutputIteratorExhausted, ), Opid(75): TraceOp( opid: Opid(75), parent_opid: Some(Opid(6)), content: InputIteratorExhausted, ), Opid(76): TraceOp( opid: Opid(76), parent_opid: Some(Opid(6)), content: OutputIteratorExhausted, ), Opid(77): TraceOp( opid: Opid(77), parent_opid: Some(Opid(7)), content: InputIteratorExhausted, ), Opid(78): TraceOp( opid: Opid(78), parent_opid: Some(Opid(7)), content: OutputIteratorExhausted, ), }, ir_query: IRQuery( root_name: "Number", root_parameters: EdgeParameters( contents: { "max": Int64(2), "min": Int64(1), }, ), root_component: IRQueryComponent( root: Vid(1), vertices: { Vid(1): IRVertex( vid: Vid(1), type_name: "Number", filters: [ Equals(LocalField( field_name: "__typename", field_type: "String!", ), Variable(VariableRef( variable_name: "type", variable_type: "String!", ))), ], ), Vid(3): IRVertex( vid: Vid(3), type_name: "Composite", filters: [ Equals(LocalField( field_name: "name", field_type: "String", ), Tag(ContextField(ContextField( vertex_id: Vid(1), field_name: "name", field_type: "String", )))), ], ), }, edges: { Eid(2): IREdge( eid: Eid(2), from_vid: Vid(1), to_vid: Vid(3), edge_name: "multiple", parameters: EdgeParameters( contents: { "max": Int64(5), }, ), ), }, folds: { Eid(1): IRFold( eid: Eid(1), from_vid: Vid(1), to_vid: Vid(2), edge_name: "predecessor", component: IRQueryComponent( root: Vid(2), vertices: { Vid(2): IRVertex( vid: Vid(2), type_name: "Number", ), }, outputs: { "name": ContextField( vertex_id: Vid(2), field_name: "name", field_type: "String", ), }, ), ), }, outputs: { "value": ContextField( vertex_id: Vid(1), field_name: "value", field_type: "Int", ), }, ), variables: { "type": "String!", }, ), arguments: { "type": String("Prime"), }, ), )