(
(let $1 (DataType 'String))
(let $2 (StructType '('"column2" $1) '('"mod" (OptionalType (DataType 'Int32))) '('"mod_key" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '1227) '('"_id" '"56bb048f-e7d60688-e644927a-7b43cd61") '('"_wide_channels" $2)))
(let $4 (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 '"14") '('DataSize '"614") '('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))
  (let $17 (lambda '($18 $19 $20) $19 (% (SafeCast $18 (OptionalType (DataType 'Uint32))) (Int32 '"10")) $18 $20))
  (return (FromFlow (WideMap (WideSort (DqReadWideWrap $15 '()) '('('0 $16) '('2 $16))) $17)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('2 '"Asc") '('"3" '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($21) (FromFlow (NarrowMap (ToFlow $21) (lambda '($22 $23 $24 $25) (AsStruct '('"column2" $22) '('"mod" $23) '('"mod_key" $24) '('"value" $25)))))) '('('"_logical_id" '1239) '('"_id" '"36d2f302-1d14ca8-e53f3fe1-fd56abd3"))))
(let $7 '('"mod" '"mod_key" '"column2" '"value"))
(let $8 (DqCnResult (TDqOutput $6 '0) $7))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
