(
(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) (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" '771) '('"_id" '"5b606b10-f1403aed-eb482d39-3aaf3fd8"))))
(let $2 (DqCnUnionAll (TDqOutput $1 '0)))
(let $3 (DqPhyStage '($2) (lambda '($18) $18) '('('"_logical_id" '823) '('"_id" '"58e91e50-3ca65c75-7ef15fdd-b9d1e712"))))
(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"))))
)
