You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/02/08 05:41:20 UTC

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

     [ https://issues.apache.org/jira/browse/PIG-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheolsoo Park updated PIG-3447:
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thank you Koji.

> 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
>             Fix For: 0.13.0
>
>         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)