(
(let $1 (Uint64 '10))
(let $2 '('('0 (Bool 'true))))
(let $3 (StructType '('"EventTime" (DataType 'Timestamp64)) '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1605) '('"_id" '"80f291d9-7692e986-2dedbd00-1853fc5a") '('"_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" '"2aefcfda-bcab2573-33b885e1-244fd8d8"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '('"SearchPhrase" '"EventTime")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
