SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 1)
   ExpressionList (children 1)
    Function finalizeAggregation (children 1)
     ExpressionList (children 1)
      Function initializeAggregation (children 1)
       ExpressionList (children 2)
        Literal \'uniqExactState\'
        Function toNullable (children 1)
         ExpressionList (children 1)
          Literal \'foo\'
