Skip to content

Commit

Permalink
Fixed dq_pq_rd_read_actor.cpp 2
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Dec 7, 2024
1 parent 04417a1 commit 099b655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/library/yql/providers/pq/async_io/dq_pq_rd_read_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ TDqPqRdReadActor::TDqPqRdReadActor(
// Parse output schema (expected struct output type)
const auto& outputTypeYson = SourceParams.GetRowType();
const auto outputItemType = NCommon::ParseTypeFromYson(TStringBuf(outputTypeYson), *programBuilder, Cerr);
YQL_ENSURE(outputItemType, "Failed to parse output type: " << outputItemType);
YQL_ENSURE(outputItemType->IsStruct(), "Output type " << outputItemType << " is not struct");
YQL_ENSURE(outputItemType, "Failed to parse output type: " << outputTypeYson);
YQL_ENSURE(outputItemType->IsStruct(), "Output type " << outputTypeYson << " is not struct");
const auto structType = static_cast<TStructType*>(outputItemType);

// Build input schema and unpacker (for data comes from RowDispatcher)
Expand Down

0 comments on commit 099b655

Please sign in to comment.