SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 4)
    Function ifNotFinite (alias d1) (children 1)
     ExpressionList (children 2)
      Function arrayElement (children 1)
       ExpressionList (children 2)
        Function quantilesTimingMerge (children 2)
         ExpressionList (children 1)
          Identifier q
         ExpressionList (children 1)
          Literal Float64_0.95
        Literal UInt64_1
      Literal UInt64_0
    Function ifNotFinite (alias d2) (children 1)
     ExpressionList (children 2)
      Function arrayElement (children 1)
       ExpressionList (children 2)
        Function quantilesTimingMerge (children 2)
         ExpressionList (children 1)
          Identifier q
         ExpressionList (children 1)
          Literal Float64_0.99
        Literal UInt64_1
      Literal UInt64_0
    Function ifNotFinite (alias d3) (children 1)
     ExpressionList (children 2)
      Function arrayElement (children 1)
       ExpressionList (children 2)
        Function quantilesTimingMerge (children 2)
         ExpressionList (children 1)
          Identifier q
         ExpressionList (children 1)
          Literal Float64_0.5
        Literal UInt64_1
      Literal UInt64_0
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier s
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Function cluster (children 1)
       ExpressionList (children 3)
        Literal \'test_cluster_two_shards\'
        Function currentDatabase (children 1)
         ExpressionList
        Identifier r
   Function equals (children 1)
    ExpressionList (children 2)
     Identifier a
     Literal \'x\'
   Set
