(
(let $1 '('"SearchPhrase"))
(let $2 (Uint64 '10))
(let $3 (StructType '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1552) '('"_id" '"b936b56e-280bcd7f-423871b-eaffa954") '('"_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" '"ba8e8d6d-e25672a3-862f1206-98a1d6dc"))))
(let $8 (DqCnResult (TDqOutput $7 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
