SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 1)
    Subquery (alias table_uuid_) (children 1)
     SelectWithUnionQuery (children 1)
      ExpressionList (children 1)
       SelectQuery (children 3)
        ExpressionList (children 1)
         Identifier uuid
        TablesInSelectQuery (children 1)
         TablesInSelectQueryElement (children 1)
          TableExpression (children 1)
           TableIdentifier system.tables
        Function and (children 1)
         ExpressionList (children 2)
          Function equals (children 1)
           ExpressionList (children 2)
            Identifier database
            Function currentDatabase (children 1)
             ExpressionList
          Function equals (children 1)
           ExpressionList (children 2)
            Identifier table
            Literal \'data_02491\'
   ExpressionList (children 4)
    Function notEquals (children 1)
     ExpressionList (children 2)
      Identifier table_uuid
      Function toUUIDOrDefault (children 1)
       ExpressionList (children 1)
        Literal NULL
    Identifier event_type
    Identifier merge_reason
    Identifier part_name
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier system.part_log
   Function and (children 1)
    ExpressionList (children 3)
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier database
       Function currentDatabase (children 1)
        ExpressionList
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier table
       Literal \'data_02491\'
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier table_uuid
       Identifier table_uuid_
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier event_time_microseconds
