(
(let $1 (StructType '('"key" (DataType 'Uint32)) '('"subkey" (OptionalType (DataType 'Bool)))))
(let $2 '('('"_logical_id" '743) '('"_id" '"b7db6a67-2d6fbade-92ec721b-56a32c20") '('"_wide_channels" $1)))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"Uint32"]];["subkey";["OptionalType";["DataType";"Bool"]]];["value";["DataType";"Bool"]]]]@@)
  (let $8 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $7)))
  (let $9 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $10 (YtStat '('Id '"Input") '('RecordsCount '"10") '('DataSize '"432") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $11 (YtTable '"Input" $8 $9 $10 '() (Void) (Void) '"/Root/plato"))
  (let $12 '('"key" '"subkey" '"value"))
  (let $13 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $11 $12 (Void) (Void))) '()))))
  (let $14 (lambda '($18 $19 $20) $18 $19))
  (return (FromFlow (WideMap (WideSort (WideFilter (DqReadWideWrap $13 '()) (lambda '($15 $16 $17) (Not $17))) '('('0 (Bool 'true)))) $14)))
))) $2))
(let $4 (DqCnMerge (TDqOutput $3 '0) '('('0 '"Asc"))))
(let $5 (DqPhyStage '($4) (lambda '($21) (FromFlow (NarrowMap (ToFlow $21) (lambda '($22 $23) (AsStruct '('"key" $22) '('"subkey" $23)))))) '('('"_logical_id" '755) '('"_id" '"bf6db139-f482f5dd-18128fda-6533d791"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"key" '"subkey")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $1) '0 '0)) '('('"type" '"query"))))
)
