(
(let $1 (OptionalType (DataType 'Double)))
(let $2 (Uint64 '1000))
(let $3 (Bool 'false))
(let $4 '('"key" $1))
(let $5 '('('"_logical_id" '1150) '('"_id" '"ae074f35-92457ba7-751279c1-2248dee3") '('"_wide_channels" (StructType $4 '('"value" (DataType 'String))))))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $20 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $21 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $20)))
  (let $22 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $23 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $24 (YtTable '"Input" $21 $22 $23 '() (Void) (Void) '"/Root/plato"))
  (let $25 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $24 '('"key" '"value") (Void) (Void))) '()))))
  (let $26 (Top (NarrowMap (WideFilter (DqReadWideWrap $25 '()) (lambda '($28 $29) (< $28 (String '"100")))) (lambda '($30 $31) (AsStruct '('"key" (SafeCast $30 $1)) '('"value" $31)))) $2 $3 (lambda '($32) (Member $32 '"key"))))
  (let $27 (lambda '($33) (Member $33 '"key") (Member $33 '"value")))
  (return (FromFlow (ExpandMap $26 $27)))
))) $5))
(let $7 (DqCnUnionAll (TDqOutput $6 '0)))
(let $8 (lambda '($40) $40))
(let $9 (StructType $4))
(let $10 '('"_wide_channels" $9))
(let $11 '('('"_logical_id" '1264) '('"_id" '"77a07fe1-10b5ad4c-9c33b83f-4a01e485") $10))
(let $12 (DqPhyStage '($7) (lambda '($34) (block '(
  (let $35 (WideTop (ToFlow $34) $2 '('('0 $3))))
  (return (DqPhyHashCombine (WideToBlocks (FromFlow (WideMap (WideFilter $35 (lambda '($36 $37) (!= $37 (String '"")))) (lambda '($38 $39) $38)))) '-1073741824 $8 (lambda '($41 $42) $41) (lambda '($43 $44 $45) $45) (lambda '($46 $47) $47)))
))) $11))
(let $13 (DqCnHashShuffle (TDqOutput $12 '0) '('0) '0 '"HashV2"))
(let $14 '('('"_logical_id" '1562) '('"_id" '"5a6d6c87-c0eb8e00-da679ba2-a468ef02") $10))
(let $15 (DqPhyStage '($13) (lambda '($48) (block '(
  (let $49 (lambda '($51 $52)))
  (let $50 (WideCombiner (ToFlow (WideFromBlocks $48)) '"" $8 $49 $49 $8))
  (return (FromFlow (WideSort $50 '('('0 (Bool 'true))))))
))) $14))
(let $16 (DqCnMerge (TDqOutput $15 '0) '('('0 '"Asc"))))
(let $17 (DqPhyStage '($16) (lambda '($53) (FromFlow (NarrowMap (ToFlow $53) (lambda '($54) (AsStruct '('"key" $54)))))) '('('"_logical_id" '1574) '('"_id" '"7a998aa6-63b5b5f-a406a2c9-beeb9448"))))
(let $18 '($6 $12 $15 $17))
(let $19 (DqCnResult (TDqOutput $17 '0) '('"key")))
(return (KqpPhysicalQuery '((KqpPhysicalTx $18 '($19) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $9) '0 '0)) '('('"type" '"query"))))
)
