(
(let $1 (DqPhyStage '() (lambda '() (block '(
  (let $7 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (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 '"4") '('DataSize '"166") '('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 '('"key" '"value") (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (DqReadWideWrap $12 '()) (lambda '($13 $14) (block '(
    (let $15 (Int32 '"3"))
    (let $16 (== (Size $13) $15))
    (let $17 (== (Size $14) $15))
    (return (AsStruct '('"and_res" (And $16 $17)) '('"or_res" (Or $16 $17)) '('"xor_res" (Xor $16 $17))))
  ))))))
))) '('('"_logical_id" '769) '('"_id" '"543dccb4-d00570b-b88b5beb-724a1921"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($18) $18) '('('"_logical_id" '821) '('"_id" '"f8070f58-4d22d0cc-b6f039e3-2964d3bb"))))
(let $4 '('"and_res" '"or_res" '"xor_res"))
(let $5 (DqCnResult (TDqOutput $3 '0) $4))
(let $6 (DataType 'Bool))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($1 $3) '($5) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType '('"and_res" $6) '('"or_res" $6) '('"xor_res" $6))) '0 '0)) '('('"type" '"query"))))
)
