55class aggtst_decimal_stddev_pop (TstView ):
66 def __init__ (self ):
77 # Validated on Postgres
8- self .data = [{'c1' : Decimal (' 2154.11' ), 'c2' : Decimal (' 2318.75' )}]
8+ self .data = [{"c1" : Decimal (" 2154.11" ), "c2" : Decimal (" 2318.75" )}]
99 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop AS SELECT
1010 STDDEV_POP(c1) AS c1,
1111 STDDEV_POP(c2) AS c2
@@ -16,8 +16,8 @@ class aggtst_decimal_stddev_pop_groupby(TstView):
1616 def __init__ (self ):
1717 # Validated on Postgres
1818 self .data = [
19- {'id' : 0 , 'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 785.40' )},
20- {'id' : 1 , 'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 177.00' )}
19+ {"id" : 0 , "c1" : Decimal (" 0.00" ), "c2" : Decimal (" 785.40" )},
20+ {"id" : 1 , "c1" : Decimal (" 0.00" ), "c2" : Decimal (" 177.00" )},
2121 ]
2222 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop_gby AS SELECT
2323 id,
@@ -30,7 +30,7 @@ def __init__(self):
3030class aggtst_decimal_stddev_pop_distinct (TstView ):
3131 def __init__ (self ):
3232 # Validated on Postgres
33- self .data = [{'c1' : Decimal (' 2284.78' ), 'c2' : Decimal (' 2318.75' )}]
33+ self .data = [{"c1" : Decimal (" 2284.78" ), "c2" : Decimal (" 2318.75" )}]
3434 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop_distinct AS SELECT
3535 STDDEV_POP(DISTINCT c1) AS c1,
3636 STDDEV_POP(DISTINCT c2) AS c2
@@ -41,8 +41,8 @@ class aggtst_decimal_stddev_pop_distinct_groupby(TstView):
4141 def __init__ (self ):
4242 # Validated on Postgres
4343 self .data = [
44- {'id' : 0 , 'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 785.40' )},
45- {'id' : 1 , 'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 177.00' )}
44+ {"id" : 0 , "c1" : Decimal (" 0.00" ), "c2" : Decimal (" 785.40" )},
45+ {"id" : 1 , "c1" : Decimal (" 0.00" ), "c2" : Decimal (" 177.00" )},
4646 ]
4747 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop_distinct_gby AS SELECT
4848 id,
@@ -55,7 +55,7 @@ def __init__(self):
5555class aggtst_decimal_stddev_pop_where (TstView ):
5656 def __init__ (self ):
5757 # Validated on Postgres
58- self .data = [{'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 1754.95' )}]
58+ self .data = [{"c1" : Decimal (" 0.00" ), "c2" : Decimal (" 1754.95" )}]
5959 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop_where AS SELECT
6060 STDDEV_POP(c1) FILTER (WHERE c2 > 2231.90) AS c1,
6161 STDDEV_POP(c2) FILTER (WHERE c2 > 2231.90) AS c2
@@ -66,8 +66,8 @@ class aggtst_decimal_stddev_pop_where_groupby(TstView):
6666 def __init__ (self ):
6767 # Validated on Postgres
6868 self .data = [
69- {'id' : 0 , 'c1' : None , 'c2' : Decimal (' 0.00' )},
70- {'id' : 1 , 'c1' : Decimal (' 0.00' ), 'c2' : Decimal (' 177.00' )}
69+ {"id" : 0 , "c1" : None , "c2" : Decimal (" 0.00" )},
70+ {"id" : 1 , "c1" : Decimal (" 0.00" ), "c2" : Decimal (" 177.00" )},
7171 ]
7272 self .sql = """CREATE MATERIALIZED VIEW decimal_stddev_pop_where_gby AS SELECT
7373 id,
0 commit comments