[ 
https://issues.apache.org/jira/browse/PIG-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875794#comment-13875794
 ] 

Aniket Mokashi commented on PIG-3447:
-------------------------------------

+1

> Compiler warning message dropped for CastLineageSetter and others with no 
> enum kind
> -----------------------------------------------------------------------------------
>
>                 Key: PIG-3447
>                 URL: https://issues.apache.org/jira/browse/PIG-3447
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-3447-v01.txt
>
>
> Following compiler warning was never shown to users for two reasons.
> {noformat}
> //./src/org/apache/pig/newplan/logical/visitor/CastLineageSetter.java
>   106  if(inLoadFunc == null){
>   107      String msg = "Cannot resolve load function to use for casting from 
> " +
>   108                  DataType.findTypeName(inType) + " to " +
>   109                  DataType.findTypeName(outType) + ". ";
>   110      msgCollector.collect(msg, MessageType.Warning);
>   111  }
> {noformat}
> # CompilationMessageCollector.logMessages or logAllMessages not being called 
> after CastLineageSetter.visit.
> # CompilationMessageCollector.collect with no KIND don't print out any 
> messages when aggregate.warning=true (default)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to