Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19569 )

Change subject: IMPALA-11957: Implement Regression functions: regr_slope(), 
regr_intercept() and regr_r2()
......................................................................


Patch Set 20:

> > Quanlong, do you think we can specify a range for these values instead of 
> > requiring exact matches?

Our tests allow the error of double to be no more than 10e-10. I think the 
second column results violate this.
https://github.com/apache/impala/blob/05bc485851a255b1b00bdb1a1086ba5527877768/tests/common/test_result_verifier.py#L232

We can convert the second column to be

 regr_intercept(ss_sold_time_sk, ss_quantity) / 10000

to scale down the error.


--
To view, visit http://gerrit.cloudera.org:8080/19569
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iab6bd84ae3e0c02ec924c30183308123b951caa3
Gerrit-Change-Number: 19569
Gerrit-PatchSet: 20
Gerrit-Owner: Anonymous Coward <pranav.lo...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <pranav.lo...@cloudera.com>
Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Kurt Deschler <kdesc...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Comment-Date: Wed, 23 Aug 2023 12:42:04 +0000
Gerrit-HasComments: No

Reply via email to