(
(let $1 (DataType 'Utf8))
(let $2 '('"SearchPhrase" $1))
(let $3 (DataType 'Uint64))
(let $4 (StructType $2 '('_yql_agg_0 $3) '('_yql_agg_1 $1)))
(let $5 '('('"_logical_id" '2056) '('"_id" '"d18aa16a-b3c3f05b-db2d05d3-581535c5") '('"_wide_channels" $4)))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $17 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $18 (KqpBlockReadOlapTableRanges $17 (Void) '('"SearchPhrase" '"URL") '() '() (lambda '($20) (block '(
    (let $21 '('_yql_agg_0 '"count" '"*"))
    (let $22 '('_yql_agg_1 'min '"URL"))
    (return (TKqpOlapAgg (KqpOlapFilter (KqpOlapFilter $20 (KqpOlapAnd '('neq '"SearchPhrase" (String '"")))) (KqpOlapAnd '('string_contains '"URL" (String '"google")))) '($21 $22) '('"SearchPhrase")))
  )))))
  (let $19 (lambda '($23 $24 $25 $26) (block '(
    (let $27 (BlockAsStruct '('"SearchPhrase" $23) '('_yql_agg_0 $24) '('_yql_agg_1 $25)))
    (return (BlockMember $27 '"SearchPhrase") (BlockMember $27 '_yql_agg_0) (BlockMember $27 '_yql_agg_1) $26)
  ))))
  (return (FromFlow (WideMap $18 $19)))
))) $5))
(let $7 (DqCnHashShuffle (TDqOutput $6 '0) '('0)))
(let $8 (Uint64 '10))
(let $9 (StructType '('Count0 $3) '('Min0 $1) $2))
(let $10 '('('"_logical_id" '2552) '('"_id" '"c6a9a2eb-fbccbde-5158b4d5-47b7c9ee") '('"_wide_channels" $9)))
(let $11 (DqPhyStage '($7) (lambda '($28) (block '(
  (let $29 (lambda '($36 $37 $38 $39) $38 $39))
  (let $30 (lambda '($40 $41 $42 $43 $44 $45) (AggrAdd $42 $44) (AggrMin $43 $45)))
  (let $31 (lambda '($46 $47 $48) $47 $48 $46))
  (let $32 (WideCombiner (ToFlow (WideFromBlocks $28)) '"" (lambda '($33 $34 $35) $33) $29 $30 $31))
  (return (FromFlow (WideTopSort $32 $8 '('('0 (Bool 'false))))))
))) $10))
(let $12 (DqCnMerge (TDqOutput $11 '0) '('('0 '"Desc"))))
(let $13 (DqPhyStage '($12) (lambda '($49) (FromFlow (NarrowMap (Take (ToFlow $49) $8) (lambda '($50 $51 $52) (AsStruct '('"SearchPhrase" $52) '('"c" $50) '('"column1" $51)))))) '('('"_logical_id" '2653) '('"_id" '"6ed2867e-db756a43-b2146c4c-7a2f2343"))))
(let $14 '($6 $11 $13))
(let $15 '('"SearchPhrase" '"column1" '"c"))
(let $16 (DqCnResult (TDqOutput $13 '0) $15))
(return (KqpPhysicalQuery '((KqpPhysicalTx $14 '($16) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType $2 '('"c" $3) '('"column1" $1))) '0 '0)) '('('"type" '"query"))))
)
