SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 1)
    Function addressToSymbol (alias symbol) (children 1)
     ExpressionList (children 1)
      Function arrayJoin (children 1)
       ExpressionList (children 1)
        Identifier trace
   ExpressionList (children 1)
    Function greater (children 1)
     ExpressionList (children 2)
      Function count (children 1)
       ExpressionList
      Literal UInt64_0
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier trace_log (alias t)
   Function and (children 1)
    ExpressionList (children 3)
     Function greaterOrEquals (children 1)
      ExpressionList (children 3)
       Identifier event_date
       Function ignore (children 1)
        ExpressionList (children 2)
         Function ignore (children 1)
          ExpressionList (children 1)
           Function ignore (children 1)
            ExpressionList (children 2)
             Literal NULL
             Literal \'\'
         Literal UInt64_256
       Function yesterday (children 1)
        ExpressionList
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier trace_type
       Literal \'Memory\'
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier query_id
       Subquery (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 5)
           ExpressionList (children 2)
            Function ignore (children 1)
             ExpressionList (children 2)
              Function ignore (children 1)
               ExpressionList (children 3)
                Function ignore (children 1)
                 ExpressionList (children 1)
                  Function ignore (children 1)
                   ExpressionList (children 1)
                    Literal UInt64_65536
                Function ignore (children 1)
                 ExpressionList (children 1)
                  Literal UInt64_65537
                Function ignore (children 1)
                 ExpressionList (children 1)
                  Literal UInt64_2
              Literal \'\'
            Identifier query_id
           TablesInSelectQuery (children 1)
            TablesInSelectQueryElement (children 1)
             TableExpression (children 1)
              TableIdentifier system.query_log
           Function and (children 1)
            ExpressionList (children 3)
             Function equals (children 1)
              ExpressionList (children 2)
               Identifier current_database
               Function currentDatabase (children 1)
                ExpressionList
             Function greaterOrEquals (children 1)
              ExpressionList (children 2)
               Identifier event_date
               Function yesterday (children 1)
                ExpressionList
             Function like (children 1)
              ExpressionList (children 2)
               Identifier query
               Literal \'%test memory profiler%\'
           ExpressionList (children 1)
            OrderByElement (children 1)
             Identifier event_time
           Literal UInt64_1
