(
(let $1 '('"key" '"value"))
(let $2 (Uint64 '1))
(let $3 '('('1 (Bool 'true))))
(let $4 (DataType 'String))
(let $5 (StructType '('"key" (OptionalType $4)) '('"value" (ListType $4))))
(let $6 '('('"_logical_id" '602) '('"_id" '"642f89b4-f215f5f-9b33127f-4a8c3054") '('"_wide_channels" $5)))
(let $7 (DqPhyStage '() (lambda '() (block '(
  (let $11 '@@["StructType";[["value";["ListType";["DataType";"String"]]];["key";["OptionalType";["DataType";"String"]]]]]@@)
  (let $12 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $11)))
  (let $13 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $14 (YtStat '('Id '"Input") '('RecordsCount '"2") '('DataSize '"68") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $15 (YtTable '"Input" $12 $13 $14 '() (Void) (Void) '"/Root/plato"))
  (let $16 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $15 $1 (Void) (Void))) '()))))
  (return (FromFlow (WideTop (DqReadWideWrap $16 '()) $2 $3)))
))) $6))
(let $8 (DqCnUnionAll (TDqOutput $7 '0)))
(let $9 (DqPhyStage '($8) (lambda '($17) (block '(
  (let $18 (WideTopSort (ToFlow $17) $2 $3))
  (return (FromFlow (NarrowMap $18 (lambda '($19 $20) (AsStruct '('"key" $19) '('"value" $20))))))
))) '('('"_logical_id" '618) '('"_id" '"3dbd9df8-50430c80-fd86b72-1ea4adef"))))
(let $10 (DqCnResult (TDqOutput $9 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($7 $9) '($10) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $5) '0 '0)) '('('"type" '"query"))))
)
