(
(let $1 (Uint64 '10))
(let $2 (Bool 'true))
(let $3 '('('0 $2) '('1 $2)))
(let $4 (StructType '('"EventTime" (DataType 'Timestamp64)) '('"SearchPhrase" (DataType 'Utf8))))
(let $5 '('('"_logical_id" '1619) '('"_id" '"a8626a45-cb2f8886-57af2374-1818e69c") '('"_wide_channels" $4)))
(let $6 (DqPhyStage '() (lambda '() (block '(
  (let $10 (KqpTable '"/local/test_db/olap_yatests/clickbench/hits" '"72075186224037897:8" '"" '1))
  (let $11 (KqpBlockReadOlapTableRanges $10 (Void) '('"EventTime" '"SearchPhrase") '() '() (lambda '($12) (block '(
    (let $13 '('neq '"SearchPhrase" (String '"")))
    (return (KqpOlapFilter $12 $13))
  )))))
  (return (FromFlow (WideTop (ToFlow (WideFromBlocks (FromFlow $11))) $1 $3)))
))) $5))
(let $7 (DqCnUnionAll (TDqOutput $6 '0)))
(let $8 (DqPhyStage '($7) (lambda '($14) (block '(
  (let $15 (WideTopSort (ToFlow $14) $1 $3))
  (return (FromFlow (NarrowMap $15 (lambda '($16 $17) (AsStruct '('"EventTime" $16) '('"SearchPhrase" $17))))))
))) '('('"_logical_id" '1637) '('"_id" '"90135a5a-e30a2a03-d401407d-7adcd592"))))
(let $9 (DqCnResult (TDqOutput $8 '0) '('"SearchPhrase" '"EventTime")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($6 $8) '($9) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $4) '0 '0)) '('('"type" '"query"))))
)
