# Golden test output of GoldenSbeStageBuilderTest/TestUnwindIndexPath
[2] project [s6 = 
    if exists(s3) 
    then makeBsonObj(MakeObjSpec([a = Set(0), idx = Set(1)], Open, NewObj, 0), s2, s4, s5) 
    else makeBsonObj(MakeObjSpec([idx = Set(0)], Open, NewObj, 0), s2, s5) 
] 
[2] unwind s4 = outField, s5 = outIndex, s3 = inField _preserveNullAndEmptyArrays 
[2] project [s3 = getField(s2, "a")] 
[1] project [s2 = getElement(s1, 0)] 
[1] virtualscan s1 {[[{"a" : [1, 2, 3]}]]} 
