(
(let $1 '('"SearchPhrase"))
(let $2 (Uint64 '10))
(let $3 (StructType '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1551) '('"_id" '"de8773f6-b1a2f174-d3604c1a-8fe8a158") '('"_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 '($13) (block '(
    (let $14 '('neq '"SearchPhrase" (String '"")))
    (return (KqpOlapFilter $13 $14))
  )))))
  (let $11 (lambda '($15 $16) (BlockAsStruct '('"SearchPhrase" $15)) $16))
  (let $12 (TopSort (NarrowMap (ToFlow (WideFromBlocks (FromFlow (WideMap $10 $11)))) (lambda '($17) $17)) $2 (Bool 'true) (lambda '($18) (Member $18 '"SearchPhrase"))))
  (return (FromFlow (ExpandMap $12 (lambda '($19) (Member $19 '"SearchPhrase")))))
))) $4))
(let $6 (DqCnMerge (TDqOutput $5 '0) '('('0 '"Asc"))))
(let $7 (DqPhyStage '($6) (lambda '($20) (FromFlow (NarrowMap (Take (ToFlow $20) $2) (lambda '($21) (AsStruct '('"SearchPhrase" $21)))))) '('('"_logical_id" '1564) '('"_id" '"5979c94f-6737ecfb-73b5209f-1fc4d5fd"))))
(let $8 (DqCnResult (TDqOutput $7 '0) $1))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
