(
(declare %kqp%tx_result_binding_0_0 (OptionalType (StructType '('"subkey" (DataType 'String)))))
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
(let $3 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $2)))
(let $4 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
(let $5 '('ChunkCount '1))
(let $6 '('ModifyTime '0))
(let $7 '('Revision '0))
(let $8 (Uint64 '1))
(let $9 (DataType 'String))
(let $10 '('"subkey" $9))
(let $11 (StructType $10))
(let $12 '('('"_logical_id" '1594) '('"_id" '"ff4bfe3f-e8bb8a72-dce9b2ea-76ce0410") '('"_wide_channels" $11)))
(let $13 (DqPhyStage '() (lambda '() (block '(
  (let $27 (YtStat '('Id '"Input1") '('RecordsCount '"14") '('DataSize '"614") $5 $6 $7))
  (let $28 (YtTable '"Input1" $3 $4 $27 '() (Void) (Void) '"/Root/plato"))
  (let $29 (YtReadTable! world $1 '((YtSection '((YtPath $28 '('"key" '"subkey") (Void) (Void))) '()))))
  (let $30 (WideFilter (DqReadWideWrap $29 '()) (lambda '($31 $32) (== $31 (String '"075"))) $8))
  (return (FromFlow (WideMap $30 (lambda '($33 $34) $34))))
))) $12))
(let $14 (DqCnUnionAll (TDqOutput $13 '0)))
(let $15 (OptionalType $11))
(let $16 (Bool 'false))
(let $17 (DqPhyStage '($14) (lambda '($35) (FromFlow (Condense (NarrowMap (Take (ToFlow $35) $8) (lambda '($36) (AsStruct '('"subkey" $36)))) (Nothing $15) (lambda '($37 $38) $16) (lambda '($39 $40) (Just $39))))) '('('"_logical_id" '1682) '('"_id" '"abae618e-a207a06a-7f9556f8-5dddd95c"))))
(let $18 (DqCnValue (TDqOutput $17 '0)))
(let $19 (KqpPhysicalTx '($13 $17) '($18) '() '('('"type" '"compute"))))
(let $20 '"%kqp%tx_result_binding_0_0")
(let $21 (DqPhyStage '() (lambda '() (block '(
  (let $41 (YtStat '('Id '"Input2") '('RecordsCount '"10") '('DataSize '"424") $5 $6 $7))
  (let $42 (YtTable '"Input2" $3 $4 $41 '() (Void) (Void) '"/Root/plato"))
  (let $43 '('"key" '"subkey" '"value"))
  (let $44 (YtReadTable! world $1 '((YtSection '((YtPath $42 $43 (Void) (Void))) '()))))
  (return (FromFlow (NarrowMap (WideFilter (DqReadWideWrap $44 '()) (lambda '($45 $46 $47) (Coalesce (== $45 (Member %kqp%tx_result_binding_0_0 '"subkey")) $16))) (lambda '($48 $49 $50) (AsStruct '('"key" $48) '('"subkey" $49) '('"value" $50))))))
))) '('('"_logical_id" '1856) '('"_id" '"b561a4ee-9629d97a-79d27572-62127050"))))
(let $22 (DqCnUnionAll (TDqOutput $21 '0)))
(let $23 (DqPhyStage '($22) (lambda '($51) $51) '('('"_logical_id" '2320) '('"_id" '"b597cb06-82c46e41-e5ec3b68-39ea574d"))))
(let $24 (DqCnResult (TDqOutput $23 '0) '()))
(let $25 (KqpTxResultBinding $15 '0 '0))
(let $26 (KqpPhysicalTx '($21 $23) '($24) '('($20 $25)) '('('"type" '"generic"))))
(return (KqpPhysicalQuery '($19 $26) '((KqpTxResultBinding (ListType (StructType '('"key" $9) $10 '('"value" $9))) '1 '0)) '('('"type" '"query"))))
)
