(
(let $1 (Uint64 '1))
(let $2 (DataType 'String))
(let $3 (StructType '('"key" $2)))
(let $4 '('('"_logical_id" '1006) '('"_id" '"6f6ae9d6-303c4950-b8cddd56-bc1dcda3") '('"_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 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $13 '('"key") (Void) (Void))) '()))))
  (return (FromFlow (WideTopSort (DqReadWideWrap $14 '()) $1 '('('0 (Bool 'true))))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($15) (block '(
  (let $16 (Condense (NarrowMap (Take (ToFlow $15) $1) (lambda '($17) (AsStruct '('"key" $17)))) (Nothing (OptionalType $3)) (lambda '($18 $19) (Bool '"false")) (lambda '($20 $21) (Just $20))))
  (return (FromFlow (Map $16 (lambda '($22) (AsStruct '('"column0" (Member $22 '"key")))))))
))) '('('"_logical_id" '1285) '('"_id" '"56fdc20a-473dfd16-46701330-1e9bcbb2"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '('"column0")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"column0" (OptionalType $2)))) '0 '0)) '('('"type" '"query"))))
)
