File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
ydb/core/kqp/ut/federated_query/s3 Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -143,14 +143,15 @@ Y_UNIT_TEST_SUITE(KqpS3PlanTest) {
143143 UNIT_ASSERT (NJson::ReadJsonTree (*queryResult.GetStats ()->GetPlan (), &plan));
144144
145145 const auto & writeStagePlan = plan[" Plan" ][" Plans" ][0 ][" Plans" ][0 ];
146- UNIT_ASSERT_VALUES_EQUAL (writeStagePlan[" Node Type" ].GetStringSafe (), " Limit -Sink" );
147- UNIT_ASSERT (writeStagePlan[" Operators" ].GetArraySafe ().size () >= 2 );
148- const auto & sinkOp = writeStagePlan[" Operators" ].GetArraySafe ()[1 ];
146+ UNIT_ASSERT_VALUES_EQUAL (writeStagePlan[" Node Type" ].GetStringSafe (), " Stage -Sink" );
147+ UNIT_ASSERT (writeStagePlan[" Operators" ].GetArraySafe ().size () >= 1 );
148+ const auto & sinkOp = writeStagePlan[" Operators" ].GetArraySafe ()[0 ];
149149 UNIT_ASSERT_VALUES_EQUAL (sinkOp[" ExternalDataSource" ].GetStringSafe (), " write_data_source" );
150150 UNIT_ASSERT_VALUES_EQUAL (sinkOp[" Compression" ].GetStringSafe (), " gzip" );
151151
152- const auto & readStagePlan = plan[" Plan" ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ];
152+ const auto & readStagePlan = plan[" Plan" ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ][" Plans" ][0 ][ " Plans " ][ 0 ][ " Plans " ][ 0 ] ;
153153 UNIT_ASSERT_VALUES_EQUAL (readStagePlan[" Node Type" ].GetStringSafe (), " Source" );
154+ UNIT_ASSERT (readStagePlan[" Operators" ].GetArraySafe ().size () >= 1 );
154155 const auto & sourceOp = readStagePlan[" Operators" ].GetArraySafe ()[0 ];
155156 UNIT_ASSERT_VALUES_EQUAL (sourceOp[" ExternalDataSource" ].GetStringSafe (), " read_data_source" );
156157
You can’t perform that action at this time.
0 commit comments