You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2013/09/03 20:15:54 UTC

[jira] [Created] (PIG-3447) Compiler warning message dropped for CastLineageSetter and others with no enum kind

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