Skip to content

STD incorrectly categorised as function and not aggregate_function #135

@GoogleCodeExporter

Description

@GoogleCodeExporter
STD(col) is incorrectly categorized as "function" and not "aggregate_function" 
as the interchangeable "stddev":

    [1] => array(5) {
      ["expr_type"] => string(18) "aggregate_function"
      ["alias"] => bool(false)
      ["base_expr"] => string(6) "stddev"
      ["sub_tree"] => array(1) {
        [0] => array(4) {
          ["expr_type"] => string(6) "colref"
          ["base_expr"] => string(1) "x"
          ["no_quotes"] => array(2) {
            ["delim"] => bool(false)
            ["parts"] => array(1) {
              [0] => string(1) "x"
            }
          }
          ["sub_tree"] => bool(false)
        }
      }
      ["delim"] => string(1) ","
    }
    [2] => array(5) {
      ["expr_type"] => string(8) "function"
      ["alias"] => bool(false)
      ["base_expr"] => string(3) "std"
      ["sub_tree"] => array(1) {
        [0] => array(4) {
          ["expr_type"] => string(6) "colref"
          ["base_expr"] => string(1) "x"
          ["no_quotes"] => array(2) {
            ["delim"] => bool(false)
            ["parts"] => array(1) {
              [0] => string(1) "x"
            }
          }
          ["sub_tree"] => bool(false)
        }
      }
      ["delim"] => bool(false)
    }

Original issue reported on code.google.com by adrian.p...@googlemail.com on 8 Apr 2014 at 10:02

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions