SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function arraySort (alias max_strings_per_partition) (children 1)
     ExpressionList (children 1)
      Function groupUniqArray (children 1)
       ExpressionList (children 1)
        Function tuple (children 1)
         ExpressionList (children 2)
          Identifier partition_mod
          Identifier max_val
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 2)
           Function modulo (alias partition_mod) (children 1)
            ExpressionList (children 2)
             Identifier number
             Literal UInt64_10
           Function maxDistinct (alias max_val) (children 1)
            ExpressionList (children 1)
             Function toString (children 1)
              ExpressionList (children 1)
               Function modulo (children 1)
                ExpressionList (children 2)
                 Identifier number
                 Literal UInt64_5
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function remote (children 1)
              ExpressionList (children 2)
               Literal \'127.0.0.{1,2,3}\'
               Function numbers_mt (children 1)
                ExpressionList (children 1)
                 Literal UInt64_100000
