forked from apache/madlib
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linregr: Fix performance regression for heteroskedasticity computation
Pivotal Tracker: 74271378 JIRA: MADLIB-863 Details: Linear regression aggregate returns a composite type that is directly joined to the source table to compute heteroskedasticity. The only value needed from the model is the coefficient, but the composite type leads the planner to use the whole result during the join. This led to a performance regression when the result type included the covariance matrix in v1.6. This caused a join with an extremely wide row even though only the coefficient was needed. This commit fixes the problem by expanding the composite type to its individual members in the model table.
- Loading branch information
Rahul Iyer
committed
Jul 2, 2014
1 parent
5f10414
commit b0444de
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters