CreateQuery test (children 3)
 Identifier test
 Storage definition (children 1)
  Function Null
 SelectWithUnionQuery (children 1)
  ExpressionList (children 1)
   SelectQuery (children 3)
    ExpressionList (children 1)
     Subquery (alias all_metrics) (children 1)
      SelectWithUnionQuery (children 1)
       ExpressionList (children 1)
        SelectQuery (children 1)
         ExpressionList (children 1)
          Function arrayReduce (children 1)
           ExpressionList (children 2)
            Literal \'sumMapState\'
            Function array (children 1)
             ExpressionList (children 1)
              Function tuple (children 1)
               ExpressionList (children 2)
                Literal Array_[\'foo\']
                Function arrayMap (children 1)
                 ExpressionList (children 2)
                  Function lambda (children 1)
                   ExpressionList (children 2)
                    Function tuple (children 1)
                     ExpressionList (children 1)
                      Identifier x
                    Literal Float64_-0
                  Literal Array_[\'foo\']
    ExpressionList (children 2)
     Function tupleElement (alias metric_names) (children 1)
      ExpressionList (children 2)
       Function finalizeAggregation (alias metrics_tuple) (children 1)
        ExpressionList (children 1)
         Function arrayReduce (children 1)
          ExpressionList (children 2)
           Literal \'sumMapMergeState\'
           Function array (children 1)
            ExpressionList (children 1)
             Identifier all_metrics
       Literal UInt64_1
     Function tupleElement (alias metric_values) (children 1)
      ExpressionList (children 2)
       Identifier metrics_tuple
       Literal UInt64_2
    TablesInSelectQuery (children 1)
     TablesInSelectQueryElement (children 1)
      TableExpression (children 1)
       TableIdentifier system.one
