(
(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 '('RecordsCount '4))
(let $6 '('DataSize '"166"))
(let $7 '('ChunkCount '1))
(let $8 '('ModifyTime '0))
(let $9 '('Revision '0))
(let $10 '('"key" '"subkey" '"value"))
(let $11 (DataType 'String))
(let $12 (StructType '('"key" $11) '('"subkey" $11) '('"value" $11)))
(let $13 '('('"_logical_id" '1047) '('"_id" '"a03f0460-8ddfa075-d1053f86-49f68569") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (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 $10 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $26 '())))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (OptionalType $11))
(let $17 (StructType '('"a.key" $11) '('"a.subkey" $11) '('"a.value" $11) '('"b.key" $16) '('"b.subkey" $16) '('"b.value" $16)))
(let $18 '('('"_logical_id" '1186) '('"_id" '"dc5c33e2-be5b2f71-6feb61fd-b1e7d721") '('"_wide_channels" $17)))
(let $19 (DqPhyStage '($15) (lambda '($27) (block '(
  (let $28 '('Many 'Hashed 'Compact))
  (let $29 (NarrowSqueezeToDict (ToFlow $27) (lambda '($30 $31 $32) $30) (lambda '($33 $34 $35) (AsStruct '('"key" $33) '('"subkey" $34) '('"value" $35))) $28))
  (return (FromFlow (WideSort (FlatMap $29 (lambda '($36) (block '(
    (let $37 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $38 (YtTable '"Input1" $3 $4 $37 '() (Void) (Void) '"/Root/plato"))
    (let $39 (YtReadTable! world $1 '((YtSection '((YtPath $38 $10 (Void) (Void))) '()))))
    (let $40 '('0 '0 '1 '1 '2 '2))
    (let $41 '('"key" '3 '"subkey" '4 '"value" '5))
    (return (MapJoinCore (WideFilter (DqReadWideWrap $39 '()) (lambda '($42 $43 $44) (> (Unwrap (SafeCast $42 (OptionalType (DataType 'Int32)))) (Int32 '"100")))) $36 'Left '('0) '('"key") $40 $41 '('"a.key") '('"b.key")))
  )))) '('('0 (Bool 'true))))))
))) $18))
(let $20 (DqCnMerge (TDqOutput $19 '0) '('('0 '"Asc"))))
(let $21 (DqPhyStage '($20) (lambda '($45) (FromFlow (NarrowMap (ToFlow $45) (lambda '($46 $47 $48 $49 $50 $51) (AsStruct '('"a.key" $46) '('"a.subkey" $47) '('"a.value" $48) '('"b.key" $49) '('"b.subkey" $50) '('"b.value" $51)))))) '('('"_logical_id" '1198) '('"_id" '"c6418e5e-5cb4476e-18c307aa-9291d78f"))))
(let $22 '($14 $19 $21))
(let $23 (DqCnResult (TDqOutput $21 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $22 '($23) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $17) '0 '0)) '('('"type" '"query"))))
)
