Github user fmcquillan99 commented on the issue:

    https://github.com/apache/madlib/pull/269
  
    (1)
    ```
    DROP TABLE IF EXISTS example_data_output, example_data_output_summary;
    SELECT madlib.correlation( 'example_data',
                               'example_data_output',
                               'temperature, humidity'
                             );
    ```
    produces
    ```
    INFO:  ['temperature', 'humidity']
    CONTEXT:  PL/Python function "correlation"
    -[ RECORD 1 
]----------------------------------------------------------------
    correlation | Summary for 'correlation' function
                | Output table = example_data_output
                | Producing correlation for columns: ['temperature', 'humidity']
                | Total run time = ('example_data_output', 2, 
0.2568531036376953)
    ```
    which looks OK, but
    
    ```
    DROP TABLE IF EXISTS example_data_output, example_data_output_summary;
    SELECT madlib.covariance( 'example_data',
                              'example_data_output',
                              'temperature, humidity'
                             );
    ```
    produces
    ```
    INFO:  ['temperature', 'humidity']
    CONTEXT:  PL/Python function "covariance"
    -[ RECORD 1 
]----------------------------------------------------------------
    covariance | Summary for 'correlation' function
               | Output table = example_data_output
               | Producing correlation for columns: ['temperature', 'humidity']
               | Total run time = ('example_data_output', 2, 
0.27153897285461426)
    ```
    but it should say `Summary for 'covariance' function`
    
    (2)
    Above output should list groups if grouping is used, currently it does not.
    
    (3)
    Is it intentional to print the INFO message out every time that the 
correlation/covariance functions
    is run? 



---

Reply via email to