----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21931/#review44342 -----------------------------------------------------------
exec/java-exec/src/main/codegen/data/CovarTypes.tdd <https://reviews.apache.org/r/21931/#comment78710> This probably should be in AggrTypes3.tdd, it contains aggregate functions that use three workspace variables. You could use a separate java template to generate the actual code if you think its cleaner - Mehant Baid On May 27, 2014, 8:30 p.m., Yash Sharma wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/21931/ > ----------------------------------------------------------- > > (Updated May 27, 2014, 8:30 p.m.) > > > Review request for drill, Aditya Kishore, Mehant Baid, and Timothy Chen. > > > Repository: drill-git > > > Description > ------- > > Added implementation for Co-Variance sample and population aggregate function. > > > Diffs > ----- > > exec/java-exec/src/main/codegen/config.fmpp 5c0d03b > exec/java-exec/src/main/codegen/data/CovarTypes.tdd PRE-CREATION > exec/java-exec/src/main/codegen/templates/CovarTypeFunctions.java > PRE-CREATION > > exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestAggregateFunction.java > ffb372d > exec/java-exec/src/test/resources/covariance_input.json PRE-CREATION > exec/java-exec/src/test/resources/functions/test_covariance.json > PRE-CREATION > > Diff: https://reviews.apache.org/r/21931/diff/ > > > Testing > ------- > > Yes. > $ mvn test -Dtest=TestAggregateFunction#testCovariance > > > Thanks, > > Yash Sharma > >