(
(let $1 '('"key"))
(let $2 (DataType 'String))
(let $3 (OptionalType $2))
(let $4 (TupleType $3 $3))
(let $5 '('"key" $4))
(let $6 '('('"_logical_id" '1343) '('"_id" '"e1c32cb1-1f102c4e-7b4ea997-ce6fa8") '('"_wide_channels" (StructType '('"_yql_key_selector_0" $2) $5))))
(let $7 (DqPhyStage '() (lambda '() (block '(
  (let $16 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $17 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $16)))
  (let $18 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" '"false")))))
  (let $19 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $20 (YtTable '"Input" $17 $18 $19 '() (Void) (Void) '"/Root/plato"))
  (let $21 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $20 $1 (Void) (Void))) '()))))
  (let $22 (lambda '($27 $28) (block '(
    (let $29 (Unpickle $4 $27))
    (return (Nth $29 '0) (Nth $29 '1))
  ))))
  (let $23 (lambda '($30 $31 $32 $33) $32 $33))
  (let $24 (lambda '($34 $35 $36) (block '(
    (let $37 '($35 $36))
    (return (StablePickle $37) $37)
  ))))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (DqReadWideWrap $21 '()))) '-1073741824 (lambda '($25) (block '(
    (let $26 (Just $25))
    (return (StablePickle '($26 $26)))
  ))) $22 $23 $24))
))) $6))
(let $8 (DqCnHashShuffle (TDqOutput $7 '0) '('0) '0 '"HashV2"))
(let $9 (StructType $5))
(let $10 '('('"_logical_id" '1603) '('"_id" '"623cd8b1-4f0e9b59-888e2332-49978933") '('"_partition_mode" '"aggregate") '('"_wide_channels" $9)))
(let $11 (DqPhyStage '($8) (lambda '($38) (block '(
  (let $39 (lambda '($42 $43 $44) $43 $44))
  (let $40 (lambda '($46 $47) (Nth $47 '0) (Nth $47 '1)))
  (let $41 (lambda '($48 $49 $50 $51) $50 $51))
  (return (FromFlow (WideCombiner (ToFlow (WideFromBlocks (WideMap $38 $39))) '"" (lambda '($45) (StablePickle $45)) $40 $41 (lambda '($52 $53 $54) '($53 $54)))))
))) $10))
(let $12 (DqCnUnionAll (TDqOutput $11 '0)))
(let $13 (DqPhyStage '($12) (lambda '($55) (FromFlow (NarrowMap (WideSort (ToFlow $55) '('('0 (Bool 'true)))) (lambda '($56) (AsStruct '('"key" $56)))))) '('('"_logical_id" '1636) '('"_id" '"940c020c-d9d8bd7c-fa937674-398f13e3"))))
(let $14 '($7 $11 $13))
(let $15 (DqCnResult (TDqOutput $13 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx $14 '($15) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $9) '0 '0)) '('('"type" '"query"))))
)
