Github user jihoonson commented on the pull request:

    https://github.com/apache/tajo/pull/427#issuecomment-87540688
  
    Hi @sirpkt, thanks for your patch.
    I executed the same queries in newly added unit tests with pgsql, but got 
different results. 
    Would you check it? Here are the results of pgsql.
    * result of testStdDevPop1
    ```
     linenumber_stddev_pop  | suppkey_stddev_pop | extendedprice_stddev_pop | 
discount_stddev_pop 
    
------------------------+--------------------+--------------------------+---------------------
                          0 |                  0 |                        0 |   
                0
     0.50000000000000000000 |   197.500000000000 |                12407.465 |  
0.0250000022351742
                          0 |                  0 |                        0 |   
                0
                          0 |                  0 |                        0 |   
                0
     0.50000000000000000000 |  2371.000000000000 |         3630.79000000004 |  
0.0200000014156103
    (5 rows)
    ```
    * result of testStdDevSamp1
    ```
     linenumber_stddev_samp | suppkey_stddev_samp | extendedprice_stddev_samp | 
discount_stddev_samp 
    
------------------------+---------------------+---------------------------+----------------------
                            |                     |                           | 
                    
     0.70710678118654752440 |    279.307178568686 |          17546.8052776695 | 
   0.035355342220341
                            |                     |                           | 
                    
                            |                     |                           | 
                    
     0.70710678118654752440 |   3353.100356386608 |          5134.71246012867 | 
  0.0282842732494372
    (5 rows)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to