(
(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" '952) '('"_id" '"c0ee4443-913b4ba4-cc4bdd96-d2e0d6ff") '('"_wide_channels" $12)))
(let $14 (DqPhyStage '() (lambda '() (block '(
  (let $23 (YtStat '('Id '"Input2") $5 $6 $7 $8 $9))
  (let $24 (YtTable '"Input2" $3 $4 $23 '() (Void) (Void) '"/Root/plato"))
  (let $25 (YtReadTable! world $1 '((YtSection '((YtPath $24 $10 (Void) (Void))) '()))))
  (return (FromFlow (DqReadWideWrap $25 '())))
))) $13))
(let $15 (DqCnBroadcast (TDqOutput $14 '0)))
(let $16 (StructType '('"a.key" $11) '('"a.subkey" $11) '('"a.value" $11) '('"b.key" $11) '('"b.subkey" $11) '('"b.value" $11)))
(let $17 '('('"_logical_id" '1102) '('"_id" '"26de4825-fdf92ae2-1ef5cc33-4e9323fe") '('"_wide_channels" $16)))
(let $18 (DqPhyStage '($15) (lambda '($26) (block '(
  (let $27 '('Many 'Hashed 'Compact))
  (let $28 (NarrowSqueezeToDict (ToFlow $26) (lambda '($29 $30 $31) $29) (lambda '($32 $33 $34) (AsStruct '('"key" $32) '('"subkey" $33) '('"value" $34))) $27))
  (return (FromFlow (WideSort (WideFilter (FlatMap $28 (lambda '($35) (block '(
    (let $36 (YtStat '('Id '"Input1") $5 $6 $7 $8 $9))
    (let $37 (YtTable '"Input1" $3 $4 $36 '() (Void) (Void) '"/Root/plato"))
    (let $38 (YtReadTable! world $1 '((YtSection '((YtPath $37 $10 (Void) (Void))) '()))))
    (let $39 '('0 '0 '1 '1 '2 '2))
    (let $40 '('"key" '3 '"subkey" '4 '"value" '5))
    (return (MapJoinCore (DqReadWideWrap $38 '()) $35 'Inner '('0) '('"key") $39 $40 '('"a.key") '('"b.key")))
  )))) (lambda '($41 $42 $43 $44 $45 $46) (> (Unwrap (SafeCast $41 (OptionalType (DataType 'Int32)))) (Int32 '"100")))) '('('0 (Bool 'true))))))
))) $17))
(let $19 (DqCnMerge (TDqOutput $18 '0) '('('0 '"Asc"))))
(let $20 (DqPhyStage '($19) (lambda '($47) (FromFlow (NarrowMap (ToFlow $47) (lambda '($48 $49 $50 $51 $52 $53) (AsStruct '('"a.key" $48) '('"a.subkey" $49) '('"a.value" $50) '('"b.key" $51) '('"b.subkey" $52) '('"b.value" $53)))))) '('('"_logical_id" '1114) '('"_id" '"95322321-79e712-25e60a0b-57a90837"))))
(let $21 '($14 $18 $20))
(let $22 (DqCnResult (TDqOutput $20 '0) '()))
(return (KqpPhysicalQuery '((KqpPhysicalTx $21 '($22) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $16) '0 '0)) '('('"type" '"query"))))
)
