You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by GitBox <gi...@apache.org> on 2019/06/07 21:33:07 UTC

[GitHub] [madlib] njayaram2 opened a new pull request #408: DL: Fix predict with 'NULL' string class values

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:
users@infra.apache.org


With regards,
Apache Git Services