(
(let $1 (DataType 'Int32))
(let $2 (StructType '('"column1" $1) '('"key" $1) '('"value" (DataType 'String)) '('"value_utf" (DataType 'Utf8))))
(let $3 '('('"_logical_id" '789) '('"_id" '"41810a63-a4c48530-cd7429-c9e7f310") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $9 '@@["StructType";[["key";["DataType";"Int32"]];["subkey";["DataType";"Int32"]];["value";["DataType";"String"]];["value_utf";["DataType";"Utf8"]]]]@@)
  (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 '"3") '('DataSize '"177") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $13 (YtTable '"Input" $10 $11 $12 '() (Void) (Void) '"/Root/plato"))
  (let $14 '('"key" '"subkey" '"value" '"value_utf"))
  (let $15 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 $14 (Void) (Void) (Void))) '()))))
  (let $16 (lambda '($17 $18 $19 $20) (+ $17 $18) $17 $19 $20))
  (return (FromFlow (WideMap (WideSort (DqReadWideWrap $15 '()) '('('0 (Bool 'true)))) $16)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('1 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($21) (FromFlow (NarrowMap (ToFlow $21) (lambda '($22 $23 $24 $25) (AsStruct '('"column1" $22) '('"key" $23) '('"value" $24) '('"value_utf" $25)))))) '('('"_logical_id" '801) '('"_id" '"605c68c7-7d455b9c-1446207a-5abda920"))))
(let $7 '('"key" '"column1" '"value" '"value_utf"))
(let $8 (DqCnResult (TDqOutput $6 '0) $7))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
