(
(let $1 (StructType '('"key" (DataType 'Int32))))
(let $2 '('('"_logical_id" '678) '('"_id" '"8f0da3fb-60a638a2-c643f1ca-c6ffb207") '('"_wide_channels" $1)))
(let $3 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"Int32"]];["b1";["DataType";"Bool"]];["b2";["DataType";"Bool"]];["ob1";["OptionalType";["DataType";"Bool"]]];["ob2";["OptionalType";["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 '"9") '('DataSize '"567") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $11 (YtTable '"Input" $8 $9 $10 '() (Void) (Void) '"/Root/plato"))
  (let $12 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $11 '('"b1" '"key") (Void) (Void))) '()))))
  (return (FromFlow (WideMap (WideSort (WideFilter (DqReadWideWrap $12 '()) (lambda '($13 $14) $13)) '('('1 (Bool 'true)))) (lambda '($15 $16) $16))))
))) $2))
(let $4 (DqCnMerge (TDqOutput $3 '0) '('('0 '"Asc"))))
(let $5 (DqPhyStage '($4) (lambda '($17) (FromFlow (NarrowMap (ToFlow $17) (lambda '($18) (AsStruct '('"key" $18)))))) '('('"_logical_id" '690) '('"_id" '"d04097eb-a2985ff1-80a37d1b-66a8b178"))))
(let $6 (DqCnResult (TDqOutput $5 '0) '('"key")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($3 $5) '($6) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $1) '0 '0)) '('('"type" '"query"))))
)
