njayaram2 opened a new pull request #408: DL: Fix predict with 'NULL' string 
class values
URL: https://github.com/apache/madlib/pull/408
 
 
   JIRA: MADLIB-1357
   Fix handling of 'NULL' string for class values in predict. 'NULL' string
   as a class value was getting reported the same way as a Postgres NULL
   class value (i.e., empty). This commit double-quotes a 'NULL' string
   class value in the relevant query.
   NOTE: In predict, if we use 'prob' as the pred_type, we create a column
   for each distinct class level. The column name for Postgres NULL class
   level is 'prob_NULL', and the column name for a 'NULL' string class
   value will be 'prob_"NULL'.

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