SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 7)
    Function indexOf (children 1)
     ExpressionList (children 2)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 3)
          ExpressionList (children 1)
           Function arraySort (children 1)
            ExpressionList (children 1)
             Function groupUniqArray (children 1)
              ExpressionList (children 1)
               Identifier tid
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier system.transactions_info_log
          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 \'txn_counters\'
      Identifier tid
    Identifier type
    Function notEquals (children 1)
     ExpressionList (children 2)
      Identifier thread_id
      Literal UInt64_0
    Function or (children 1)
     ExpressionList (children 2)
      Function equals (children 1)
       ExpressionList (children 2)
        Function length (children 1)
         ExpressionList (children 1)
          Identifier query_id
        Function length (children 1)
         ExpressionList (children 1)
          Function queryID (children 1)
           ExpressionList
      Function and (children 1)
       ExpressionList (children 2)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier type
          Literal \'Commit\'
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier query_id
          Literal \'\'
    Function notEquals (children 1)
     ExpressionList (children 2)
      Identifier tid_hash
      Literal UInt64_0
    Function equals (children 1)
     ExpressionList (children 2)
      Identifier csn
      Literal UInt64_0
    Identifier part
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier system.transactions_info_log
   Function or (children 1)
    ExpressionList (children 2)
     Function in (children 1)
      ExpressionList (children 2)
       Identifier tid
       Subquery (children 1)
        SelectWithUnionQuery (children 1)
         ExpressionList (children 1)
          SelectQuery (children 3)
           ExpressionList (children 1)
            Identifier tid
           TablesInSelectQuery (children 1)
            TablesInSelectQueryElement (children 1)
             TableExpression (children 1)
              TableIdentifier system.transactions_info_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 \'txn_counters\'
             Function not (children 1)
              ExpressionList (children 1)
               Function and (children 1)
                ExpressionList (children 2)
                 Function equals (children 1)
                  ExpressionList (children 2)
                   Function tupleElement (children 1)
                    ExpressionList (children 2)
                     Identifier tid
                     Literal UInt64_1
                   Literal UInt64_1
                 Function equals (children 1)
                  ExpressionList (children 2)
                   Function tupleElement (children 1)
                    ExpressionList (children 2)
                     Identifier tid
                     Literal UInt64_2
                   Literal UInt64_1
     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 \'txn_counters\'
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier event_time
