SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 2)
    Function shardNum (alias shard_num) (children 1)
     ExpressionList
    Function sum (alias rows) (children 1)
     ExpressionList (children 1)
      Literal UInt64_1
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Function remote (children 1)
       ExpressionList (children 3)
        Literal \'127.{1,2}\'
        Identifier system
        Identifier one
   ExpressionList (children 1)
    Identifier shard_num
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier shard_num
