(
(let $1 (Bool 'false))
(let $2 (lambda '($27) $27))
(let $3 (OptionalType (DataType 'Double)))
(let $4 '('('"_logical_id" '1042) '('"_id" '"ea69b2b2-efd01186-7e5892a-fb24a6d7") '('"_wide_channels" (StructType '('_yql_agg_0 $3)))))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $14 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $15 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $14)))
  (let $16 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $17 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $18 (YtTable '"Input" $15 $16 $17 '() (Void) (Void) '"/Root/plato"))
  (let $19 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $18 '() (Void) (Void))) '()))))
  (let $20 (Just (Double '"1.0")))
  (let $21 (Condense1 (NarrowMap (DqReadWideWrap $19 '()) (lambda '() (AsStruct))) (lambda '($22) $20) (lambda '($23 $24) $1) (lambda '($25 $26) (AggrAdd $20 $26))))
  (return (FromFlow (ExpandMap $21 $2)))
))) $4))
(let $6 (DqCnUnionAll (TDqOutput $5 '0)))
(let $7 (StructType '('Sum0 $3)))
(let $8 '('('"_logical_id" '2113) '('"_id" '"fbcbadf1-a4daa531-373f777b-81b780") '('"_partition_mode" '"aggregate") '('"_wide_channels" $7)))
(let $9 (DqPhyStage '($6) (lambda '($28) (FromFlow (WideCondense1 (ToFlow $28) $2 (lambda '($29 $30) $1) (lambda '($31 $32) (AggrAdd $31 $32))))) $8))
(let $10 (DqCnUnionAll (TDqOutput $9 '0)))
(let $11 (DqPhyStage '($10) (lambda '($33) (block '(
  (let $34 (Condense (NarrowMap (ToFlow $33) (lambda '($35) (AsStruct '('Sum0 $35)))) (List (ListType $7)) (lambda '($36 $37) $1) (lambda '($38 $39) (AsList $38))))
  (return (FromFlow (Map $34 (lambda '($40) (AsStruct '('"column0" (Member (ToOptional $40) 'Sum0)))))))
))) '('('"_logical_id" '2163) '('"_id" '"7502234d-5559bc55-70e234ec-7b5cc32c"))))
(let $12 '($5 $9 $11))
(let $13 (DqCnResult (TDqOutput $11 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx $12 '($13) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" $3))) '0 '0)) '('('"type" '"query"))))
)
