(
(let $1 (Uint64 '2))
(let $2 (StructType '('"subkey1" (DataType 'Int32)) '('"value" (DataType 'String))))
(let $3 '('('"_logical_id" '715) '('"_id" '"c186a884-e4d2ea07-faeb294-5702ea4e") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"Int32"]];["subkey";["DataType";"Int32"]];["value";["DataType";"String"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('HasRLS '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $11 (YtStat '('Id '"Input") '('RecordsCount '"11") '('DataSize '"374") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 '('"subkey" '"value") (Void) (Void) (Void))) '()))))
  (let $14 (Bool 'true))
  (let $15 (TopSort (NarrowMap (DqReadWideWrap $13 '()) (lambda '($17 $18) (AsStruct '('"subkey1" (+ $17 (Int32 '0))) '('"value" $18)))) $1 '($14 $14) (lambda '($19) '((Member $19 '"subkey1") (Member $19 '"value")))))
  (let $16 (lambda '($20) (Member $20 '"subkey1") (Member $20 '"value")))
  (return (FromFlow (ExpandMap $15 $16)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($21) (FromFlow (NarrowMap (Take (ToFlow $21) $1) (lambda '($22 $23) (AsStruct '('"subkey1" $22) '('"value" $23)))))) '('('"_logical_id" '728) '('"_id" '"b467c44d-b8d4d61b-f17b9b90-54acb36e"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '('"subkey1" '"value")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
