Github user orhankislal commented on a diff in the pull request:

    https://github.com/apache/incubator-madlib/pull/81#discussion_r93790128
  
    --- Diff: src/ports/postgres/modules/knn/test/knn.sql_in ---
    @@ -0,0 +1,41 @@
    +m4_include(`SQLCommon.m4')
    +/* 
-----------------------------------------------------------------------------
    + * Test knn.
    + *
    + * FIXME: Verify results
    --- End diff --
    
    This file is used when you run the install-check. Since the dataset is 
small you can calculate the correct results by hand (or using some other knn 
implementation from python, R etc.) and then run an assertion function to 
ensure the result is correct. 
    
    Since many functions are interconnected, using an install check helps us to 
identify problems faster. Assume that somebody changed the `squared_dist_norm2` 
function implementation for  some reason and it started to give incorrect 
results. This will cause the knn install-check to fail and lead us to more 
investigation.


---
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