khannaekta opened a new pull request #489: DL: Set plan_cache_mode to choose 
generic plan when passing weights for GPDB6
URL: https://github.com/apache/madlib/pull/489
 
 
   JIRA: MADLIB-1414
   
   This PR reverts the previous commit for avoiding constant folding of weights 
in GPDB6 plans. Instead, there is a GUC introduced in GPDB6(`plan_cache_mode`) 
that allows controlling whether to choose generic plan(not constant folding the 
passed in params)/custom plans(constant folding the passed in params) for 
execution. This PR uses this GUC for choosing generic plan for GPDB6 execution.
   This PR also fixes a bug in the way `class_values` were populated in fit 
multiple's summary table; it would fail when the class_values had `NULL` values 
in the array.
   
   NOTE: For the prior versions of GPDB6, where this GUC doesn't exist, the DL 
queries will fail for those versions.  
   
   - [X] Add the module name, JIRA# to PR/commit and description.
   - [X] Add tests for the change. 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to