(
(let $1 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $2 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $1)))
(let $3 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $4 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
(let $5 (YtTable '"Input" $2 $3 $4 '() (Void) (Void) '"/Root/plato"))
(let $6 '('"key"))
(let $7 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $5 $6 (Void) (Void))) '()))))
(let $8 (Bool 'true))
(let $9 (lambda '($33) (Member $33 '"key")))
(let $10 (lambda '($34) (Member $34 '"key")))
(let $11 (StructType '('"key" (DataType 'String))))
(let $12 '('"_wide_channels" $11))
(let $13 '('('"_logical_id" '1119) '('"_id" '"63837f4f-380956ca-80b63900-77ceb6fa") $12))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $31 (Sort (NarrowMap (DqReadWideWrap $7 '()) (lambda '($32) (AsStruct '('"key" (Concat $32 (String '"a")))))) $8 $9))
  (return (FromFlow (ExpandMap $31 $10)))
))) $13))
(let $15 '('('0 '"Asc")))
(let $16 (DqCnMerge (TDqOutput $14 '0) $15))
(let $17 (lambda '($36) (AsStruct '('"key" $36))))
(let $18 (DqPhyStage '($16) (lambda '($35) (FromFlow (NarrowMap (ToFlow $35) $17))) '('('"_logical_id" '1131) '('"_id" '"8524e13a-48867f20-c8bc689d-cbde1d98"))))
(let $19 (DqCnResult (TDqOutput $18 '0) $6))
(let $20 '('('"type" '"generic")))
(let $21 (KqpPhysicalTx '($14 $18) '($19) '() $20))
(let $22 '('('"_logical_id" '1241) '('"_id" '"16e9fda4-44e63e72-e121f199-2518b6a") $12))
(let $23 (DqPhyStage '() (lambda '() (block '(
  (let $37 (Sort (NarrowMap (DqReadWideWrap $7 '()) (lambda '($38) (AsStruct '('"key" (Concat $38 (String '"b")))))) $8 $9))
  (return (FromFlow (ExpandMap $37 $10)))
))) $22))
(let $24 (DqCnMerge (TDqOutput $23 '0) $15))
(let $25 (DqPhyStage '($24) (lambda '($39) (FromFlow (NarrowMap (ToFlow $39) $17))) '('('"_logical_id" '1253) '('"_id" '"8933de5e-aaa74985-4d74984-4bb367e9"))))
(let $26 (DqCnResult (TDqOutput $25 '0) $6))
(let $27 (KqpPhysicalTx '($23 $25) '($26) '() $20))
(let $28 (ListType $11))
(let $29 (KqpTxResultBinding $28 '0 '0))
(let $30 (KqpTxResultBinding $28 '1 '0))
(return (KqpPhysicalQuery '($21 $27) '($29 $30) '('('"type" '"query"))))
)
