Koji Noguchi created PIG-3447:
---------------------------------

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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to