(
(let $1 (DataSource '"yt" '"/Root/plato"))
(let $2 '@@["StructType";[["key";["OptionalType";["DataType";"String"]]];["subkey";["OptionalType";["DataType";"String"]]]]]@@)
(let $3 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '0) '('UniqueKeys '0) '('Type $2)))
(let $4 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
(let $5 '('RecordsCount '"4"))
(let $6 '('DataSize '"170"))
(let $7 '('ChunkCount '1))
(let $8 '('ModifyTime '0))
(let $9 '('Revision '0))
(let $10 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
(let $11 (YtTable '"Input1" $3 $4 $10 '() (Void) (Void) '"/Root/plato"))
(let $12 '('"_other" '"key"))
(let $13 (YtReadTable! world $1 '((YtSection '((YtPath $11 $12 (Void) (Void))) '()))))
(let $14 (DqReadWideWrap $13 '()))
(let $15 (DataType 'String))
(let $16 (Nothing (OptionalType (DictType $15 (DataType 'Yson)))))
(let $17 (Just (String '"funny")))
(let $18 '('"_logical_id" '2196))
(let $19 (OptionalType $15))
(let $20 (StructType '('"key" $19) '('"ozer" $19) '('"src" $15)))
(let $21 '('"_wide_channels" $20))
(let $22 '($18 '('"_id" '"24262ad3-3aabc82-6db989fb-e3b223b7") $21))
(let $23 (DqPhyStage '() (lambda '() (block '(
  (let $46 (lambda '($47 $48) (block '(
    (let $49 (TryWeakMemberFromDict (Just $47) $16 'String '"value1"))
    (return $48 (Coalesce $49 $17) (String '"input1-value1"))
  ))))
  (return (FromFlow (WideMap $14 $46)))
))) $22))
(let $24 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
(let $25 (YtTable '"Input2" $3 $4 $24 '() (Void) (Void) '"/Root/plato"))
(let $26 (YtReadTable! world $1 '((YtSection '((YtPath $25 $12 (Void) (Void))) '()))))
(let $27 (DqReadWideWrap $26 '()))
(let $28 '('"_logical_id" '2384))
(let $29 '($28 '('"_id" '"592586cd-eaceb7bf-40620c37-e01b9bae") $21))
(let $30 (DqPhyStage '() (lambda '() (block '(
  (let $50 (lambda '($51 $52) (block '(
    (let $53 (TryWeakMemberFromDict (Just $51) $16 'String '"value1"))
    (return $52 (Coalesce $53 $17) (String '"input2-value1"))
  ))))
  (return (FromFlow (WideMap $27 $50)))
))) $29))
(let $31 '($18 '('"_id" '"cb4aa841-bc5b3403-c42bbdd8-a69b2c88") $21))
(let $32 (DqPhyStage '() (lambda '() (block '(
  (let $54 (lambda '($55 $56) (block '(
    (let $57 (TryWeakMemberFromDict (Just $55) $16 'String '"value2"))
    (return $56 $57 (String '"input1-value2"))
  ))))
  (return (FromFlow (WideMap $14 $54)))
))) $31))
(let $33 '($28 '('"_id" '"97a8447f-75b27bbb-52609587-d3711db8") $21))
(let $34 (DqPhyStage '() (lambda '() (block '(
  (let $58 (lambda '($59 $60) (block '(
    (let $61 (TryWeakMemberFromDict (Just $59) $16 'String '"value2"))
    (return $60 $61 (String '"input2-value2"))
  ))))
  (return (FromFlow (WideMap $27 $58)))
))) $33))
(let $35 (DqCnParallelUnionAll (TDqOutput $23 '0)))
(let $36 (DqCnParallelUnionAll (TDqOutput $30 '0)))
(let $37 (DqCnParallelUnionAll (TDqOutput $32 '0)))
(let $38 (DqCnParallelUnionAll (TDqOutput $34 '0)))
(let $39 '($35 $36 $37 $38))
(let $40 (DqPhyStage $39 (lambda '($62 $63 $64 $65) (block '(
  (let $66 (lambda '($67 $68 $69) (AsStruct '('"key" $67) '('"ozer" $68) '('"src" $69))))
  (return (FromFlow (Extend (NarrowMap (ToFlow $62) $66) (NarrowMap (ToFlow $63) $66) (NarrowMap (ToFlow $64) $66) (NarrowMap (ToFlow $65) $66))))
))) '('('"_logical_id" '2435) '('"_id" '"4c7b7250-a113b886-b31aa5e4-ccef4b7e"))))
(let $41 (DqCnUnionAll (TDqOutput $40 '0)))
(let $42 (DqPhyStage '($41) (lambda '($70) $70) '('('"_logical_id" '2924) '('"_id" '"fb8213e7-b409da02-45b45a9d-c0c258ee"))))
(let $43 '($23 $30 $32 $34 $40 $42))
(let $44 '('"src" '"key" '"ozer"))
(let $45 (DqCnResult (TDqOutput $42 '0) $44))
(return (KqpPhysicalQuery '((KqpPhysicalTx $43 '($45) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $20) '0 '0)) '('('"type" '"query"))))
)
