(
(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" '2058) '('"_id" '"ce463c1c-21e09605-afd42e24-5f11fbdd") '('"_wide_channels" $4)))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $18 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $19 (KqpBlockReadOlapTableRanges $18 (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")))
  )))))
  (return (FromFlow $19))
))) $5))
(let $7 '('0))
(let $8 (DqCnHashShuffle (TDqOutput $6 '0) $7 '0 '"HashV1"))
(let $9 (Uint64 '10))
(let $10 (StructType '('Count0 $3) '('Min0 $1) $2))
(let $11 '('('"_logical_id" '2602) '('"_id" '"e13d10fb-65107a6a-69a8dd91-84689083") '('"_wide_channels" $10)))
(let $12 (DqPhyStage '($8) (lambda '($23) (block '(
  (let $24 (AggBlockApplyState '"count_all" $3 $3))
  (let $25 (AggBlockApplyState 'min $1 $1))
  (let $26 (WideTopSort (ToFlow (WideFromBlocks (BlockMergeFinalizeHashed $23 $7 '('($24 '1) '($25 '"2"))))) $9 '('('1 (Bool 'false)))))
  (let $27 (lambda '($28 $29 $30) $29 $30 $28))
  (return (FromFlow (WideMap $26 $27)))
))) $11))
(let $13 (DqCnMerge (TDqOutput $12 '0) '('('0 '"Desc"))))
(let $14 (DqPhyStage '($13) (lambda '($31) (FromFlow (NarrowMap (Take (ToFlow $31) $9) (lambda '($32 $33 $34) (AsStruct '('"SearchPhrase" $34) '('"c" $32) '('"column1" $33)))))) '('('"_logical_id" '2721) '('"_id" '"a29043ed-b90da802-1434bde6-ca938b45"))))
(let $15 '($6 $12 $14))
(let $16 '('"SearchPhrase" '"column1" '"c"))
(let $17 (DqCnResult (TDqOutput $14 '0) $16))
(return (KqpPhysicalQuery '((KqpPhysicalTx $15 '($17) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType (StructType $2 '('"c" $3) '('"column1" $1))) '0 '0)) '('('"type" '"query"))))
)
