(
(let $1 (DataType 'String))
(let $2 (StructType '('"key" $1) '('"magic" (DataType 'Int32)) '('"sk" $1) '('"subkey" $1) '('"val" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '1148) '('"_id" '"61b43ed0-49644ae9-8fb6596c-f2c6095") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["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 '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 '('"key" '"subkey" '"value"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 $13 (Void) (Void))) '()))))
  (let $15 (lambda '($16 $17 $18) $16 (Int32 '"100500") $17 $17 $18 $18))
  (return (FromFlow (WideMap (WideSort (DqReadWideWrap $14 '()) '('('1 (Bool 'true)))) $15)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('"2" '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($19) (FromFlow (NarrowMap (ToFlow $19) (lambda '($20 $21 $22 $23 $24 $25) (AsStruct '('"key" $20) '('"magic" $21) '('"sk" $22) '('"subkey" $23) '('"val" $24) '('"value" $25)))))) '('('"_logical_id" '1160) '('"_id" '"94346893-b2d59b4b-f5b6d92c-4517e6a8"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
