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(ResolveNeighbors(Vid(1), "Composite", Eid(1))), ), Opid(3): TraceOp( opid: Opid(3), parent_opid: None, content: Call(ResolveProperty(Vid(1), "Composite", "value")), ), Opid(4): TraceOp( opid: Opid(4), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(5): TraceOp( opid: Opid(5), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(6): TraceOp( opid: Opid(6), parent_opid: Some(Opid(1)), content: YieldFrom(ResolveStartingVertices(Composite(CompositeNumber(4, [ 2, ])))), ), Opid(7): TraceOp( opid: Opid(7), parent_opid: Some(Opid(2)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, )), ), Opid(8): TraceOp( opid: Opid(8), parent_opid: Some(Opid(2)), content: YieldFrom(ResolveNeighborsOuter(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, ))), ), Opid(9): TraceOp( opid: Opid(9), parent_opid: Some(Opid(8)), content: YieldFrom(ResolveNeighborsInner(0, Prime(PrimeNumber(2)))), ), Opid(10): TraceOp( opid: Opid(10), parent_opid: Some(Opid(8)), content: OutputIteratorExhausted, ), Opid(11): TraceOp( opid: Opid(11), parent_opid: None, content: Call(ResolveProperty(Vid(2), "Prime", "value")), ), Opid(12): TraceOp( opid: Opid(12), parent_opid: Some(Opid(11)), content: AdvanceInputIterator, ), Opid(13): TraceOp( opid: Opid(13), parent_opid: Some(Opid(11)), content: YieldInto(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(2): Some(Prime(PrimeNumber(2))), }, )), ), Opid(14): TraceOp( opid: Opid(14), parent_opid: Some(Opid(11)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(2): Some(Prime(PrimeNumber(2))), }, ), Int64(2))), ), Opid(15): TraceOp( opid: Opid(15), parent_opid: Some(Opid(11)), content: AdvanceInputIterator, ), Opid(16): TraceOp( opid: Opid(16), parent_opid: Some(Opid(11)), content: InputIteratorExhausted, ), Opid(17): TraceOp( opid: Opid(17), parent_opid: Some(Opid(11)), content: OutputIteratorExhausted, ), Opid(18): TraceOp( opid: Opid(18), parent_opid: Some(Opid(3)), content: YieldInto(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(2): Some(Prime(PrimeNumber(2))), }, ), ]), }, folded_values: { (Eid(1), "factors"): Some(Vec([ Value(Int64(2)), ])), (Eid(1), "primeFactorcount"): Some(Value(Uint64(1))), }, )), ), Opid(19): TraceOp( opid: Opid(19), parent_opid: Some(Opid(3)), content: YieldFrom(ResolveProperty(SerializableContext( active_vertex: Some(Composite(CompositeNumber(4, [ 2, ]))), vertices: { Vid(1): Some(Composite(CompositeNumber(4, [ 2, ]))), }, folded_contexts: { Eid(1): Some([ SerializableContext( active_vertex: Some(Prime(PrimeNumber(2))), vertices: { Vid(2): Some(Prime(PrimeNumber(2))), }, ), ]), }, folded_values: { (Eid(1), "factors"): Some(Vec([ Value(Int64(2)), ])), (Eid(1), "primeFactorcount"): Some(Value(Uint64(1))), }, ), Int64(4))), ), Opid(20): TraceOp( opid: Opid(20), parent_opid: None, content: ProduceQueryResult({ "factors": List([ Int64(2), ]), "primeFactorcount": Uint64(1), "value": Int64(4), }), ), Opid(21): TraceOp( opid: Opid(21), parent_opid: Some(Opid(3)), content: AdvanceInputIterator, ), Opid(22): TraceOp( opid: Opid(22), parent_opid: Some(Opid(2)), content: AdvanceInputIterator, ), Opid(23): TraceOp( opid: Opid(23), parent_opid: Some(Opid(1)), content: OutputIteratorExhausted, ), Opid(24): TraceOp( opid: Opid(24), parent_opid: Some(Opid(2)), content: InputIteratorExhausted, ), Opid(25): TraceOp( opid: Opid(25), parent_opid: Some(Opid(2)), content: OutputIteratorExhausted, ), Opid(26): TraceOp( opid: Opid(26), parent_opid: Some(Opid(3)), content: InputIteratorExhausted, ), Opid(27): TraceOp( opid: Opid(27), parent_opid: Some(Opid(3)), content: OutputIteratorExhausted, ), }, ir_query: IRQuery( root_name: "Four", root_component: IRQueryComponent( root: Vid(1), vertices: { Vid(1): IRVertex( vid: Vid(1), type_name: "Composite", ), }, folds: { Eid(1): IRFold( eid: Eid(1), from_vid: Vid(1), to_vid: Vid(2), edge_name: "primeFactor", component: IRQueryComponent( root: Vid(2), vertices: { Vid(2): IRVertex( vid: Vid(2), type_name: "Prime", ), }, outputs: { "factors": ContextField( vertex_id: Vid(2), field_name: "value", field_type: "Int", ), }, ), fold_specific_outputs: { "primeFactorcount": Count, }, ), }, outputs: { "value": ContextField( vertex_id: Vid(1), field_name: "value", field_type: "Int", ), }, ), ), ), )