(
(let $1 (Uint64 '1))
(let $2 (DataType 'String))
(let $3 (StructType '('"key" $2) '('"subkey" $2) '('"value" $2)))
(let $4 '('('"_logical_id" '648) '('"_id" '"3fcd934c-5a080c00-91dd4d5d-17b45ee0") '('"_wide_channels" $3)))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $10 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $9)))
  (let $11 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $12 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"key" '"subkey" '"value"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void))) '()))))
  (let $16 (Bool 'true))
  (return (FromFlow (WideTopSort (DqReadWideWrap $15 '()) $1 '('('0 $16) '('1 $16)))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc") '('1 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($17) (FromFlow (NarrowMap (Take (ToFlow $17) $1) (lambda '($18 $19 $20) (AsStruct '('"key" $18) '('"subkey" $19) '('"value" $20)))))) '('('"_logical_id" '661) '('"_id" '"99879d01-9e80a7b7-116b727d-5c79fdc7"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
