(
(let $1 (Uint64 '10))
(let $2 (Bool 'true))
(let $3 (StructType '('"EventTime" (DataType 'Timestamp64)) '('"SearchPhrase" (DataType 'Utf8))))
(let $4 '('('"_logical_id" '1618) '('"_id" '"4a14bc34-f9f16cc0-4702708c-992270ed") '('"_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 '($14) (block '(
    (let $15 '('neq '"SearchPhrase" (String '"")))
    (return (KqpOlapFilter $14 $15))
  )))))
  (let $11 (lambda '($16 $17 $18) (BlockAsStruct '('"EventTime" $16) '('"SearchPhrase" $17)) $18))
  (let $12 (Top (NarrowMap (ToFlow (WideFromBlocks (FromFlow (WideMap $10 $11)))) (lambda '($19) $19)) $1 '($2 $2) (lambda '($20) '((Member $20 '"EventTime") (Member $20 '"SearchPhrase")))))
  (let $13 (lambda '($21) (Member $21 '"EventTime") (Member $21 '"SearchPhrase")))
  (return (FromFlow (ExpandMap $12 $13)))
))) $4))
(let $6 (DqCnUnionAll (TDqOutput $5 '0)))
(let $7 (DqPhyStage '($6) (lambda '($22) (block '(
  (let $23 (WideTopSort (ToFlow $22) $1 '('('0 $2) '('1 $2))))
  (return (FromFlow (NarrowMap $23 (lambda '($24 $25) (AsStruct '('"EventTime" $24) '('"SearchPhrase" $25))))))
))) '('('"_logical_id" '1636) '('"_id" '"b024260e-f23bf803-23f54352-1fec6bb8"))))
(let $8 (DqCnResult (TDqOutput $7 '0) '('"SearchPhrase" '"EventTime")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($5 $7) '($8) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $3) '0 '0)) '('('"type" '"query"))))
)
