(
(let $1 (Uint64 '10))
(let $2 '('('0 (Bool 'true))))
(let $3 (StructType '('"EventTime" (DataType 'Timestamp64)) '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1605) '('"_id" '"9f6d878e-e179b193-2594f0d-b8bffeb9") '('"_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) '('"EventTime" '"SearchPhrase") '() '() (lambda '($11) (block '(
    (let $12 '('neq '"SearchPhrase" (String '"")))
    (return (KqpOlapFilter $11 $12))
  )))))
  (return (FromFlow (WideTop (ToFlow (WideFromBlocks (FromFlow $10))) $1 $2)))
))) $4))
(let $6 (DqCnUnionAll (TDqOutput $5 '0)))
(let $7 (DqPhyStage '($6) (lambda '($13) (block '(
  (let $14 (WideTopSort (ToFlow $13) $1 $2))
  (return (FromFlow (NarrowMap $14 (lambda '($15 $16) (AsStruct '('"EventTime" $15) '('"SearchPhrase" $16))))))
))) '('('"_logical_id" '1621) '('"_id" '"c7f42e4-d3ce52be-24f2a46b-3182975e"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '('"SearchPhrase" '"EventTime")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
