(
(let $1 '('"SearchPhrase"))
(let $2 (Uint64 '10))
(let $3 (StructType '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1552) '('"_id" '"f27284f4-96aeeec4-f31869d3-a422d58f") '('"_wide_channels" $3)))
(let $5 (DqPhyStage '() (lambda '() (block '(
  (let $9 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $10 (KqpBlockReadOlapTableRanges $9 (Void) $1 '() '() (lambda '($11) (block '(
    (let $12 '('neq '"SearchPhrase" (String '"")))
    (return (KqpOlapFilter $11 $12))
  )))))
  (return (FromFlow (WideTopSort (ToFlow (WideFromBlocks (FromFlow $10))) $2 '('('0 (Bool 'true))))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($13) (FromFlow (NarrowMap (Take (ToFlow $13) $2) (lambda '($14) (AsStruct '('"SearchPhrase" $14)))))) '('('"_logical_id" '1565) '('"_id" '"6be2f0b5-d5d24785-4a1fc100-619a2061"))))
(let $8 (DqCnResult (TDqOutput $7 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
