(
(let $1 (Uint64 '2))
(let $2 (StructType '('"subkey1" (DataType 'Int32)) '('"value" (DataType 'String))))
(let $3 '('('"_logical_id" '706) '('"_id" '"7dc4d168-cb6c14f7-4bafd212-a9e7e037") '('"_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) '('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))) '()))))
  (let $14 (TopSort (NarrowMap (DqReadWideWrap $13 '()) (lambda '($16 $17) (AsStruct '('"subkey1" (+ $16 (Int32 '0))) '('"value" $17)))) $1 '((Bool 'false) (Bool 'true)) (lambda '($18) '((Member $18 '"subkey1") (Member $18 '"value")))))
  (let $15 (lambda '($19) (Member $19 '"subkey1") (Member $19 '"value")))
  (return (FromFlow (ExpandMap $14 $15)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Desc") '('1 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($20) (FromFlow (NarrowMap (Take (ToFlow $20) $1) (lambda '($21 $22) (AsStruct '('"subkey1" $21) '('"value" $22)))))) '('('"_logical_id" '719) '('"_id" '"b182f07a-931ccea7-d822ca2e-14b50e14"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '('"subkey1" '"value")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
