(
(let $1 (DataType 'Bool))
(let $2 (StructType '('"key" (DataType 'Uint32)) '('"subkey" (OptionalType $1)) '('"value" $1)))
(let $3 '('('"_logical_id" '772) '('"_id" '"bd6e6b5e-582dcd1-eb59e45f-ff0ffc99") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"Uint32"]];["subkey";["OptionalType";["DataType";"Bool"]]];["value";["DataType";"Bool"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $11 (YtStat '('Id '"Input") '('RecordsCount '"10") '('DataSize '"432") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 '('"key" '"subkey" '"value"))
  (let $14 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 $13 (Void) (Void))) '()))))
  (return (FromFlow (WideSort (WideFilter (DqReadWideWrap $14 '()) (lambda '($15 $16 $17) $17)) '('('0 (Bool 'true))))))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($18) (FromFlow (NarrowMap (ToFlow $18) (lambda '($19 $20 $21) (AsStruct '('"key" $19) '('"subkey" $20) '('"value" $21)))))) '('('"_logical_id" '784) '('"_id" '"66255f6b-510375e5-41617d0a-35c89146"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
