You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Shravan Matthur Narayanamurthy (JIRA)" <ji...@apache.org> on 2008/08/21 20:18:44 UTC

[jira] Created: (PIG-386) Pig does not do type checking on a per statement basis

Pig does not do type checking on a per statement basis
------------------------------------------------------

                 Key: PIG-386
                 URL: https://issues.apache.org/jira/browse/PIG-386
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: types_branch
            Reporter: Shravan Matthur Narayanamurthy
            Priority: Critical
             Fix For: types_branch


Currently though Pig has a type checker it is not called with every query registration. Instead, the system waits till there is a dump or store. I think its not in line with the philosophy of catching errors early. Instead of the typechecking happening in the execute method, it should happen in registerQuery and the execute method should expect a type checked plan.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-386) Pig does not do type checking on a per statement basis

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-386:
-------------------------------

    Priority: Minor  (was: Critical)

while it is nice to have immediate feedback on errors, I don't think this is a critical bug

> Pig does not do type checking on a per statement basis
> ------------------------------------------------------
>
>                 Key: PIG-386
>                 URL: https://issues.apache.org/jira/browse/PIG-386
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Shravan Matthur Narayanamurthy
>            Priority: Minor
>             Fix For: types_branch
>
>
> Currently though Pig has a type checker it is not called with every query registration. Instead, the system waits till there is a dump or store. I think its not in line with the philosophy of catching errors early. Instead of the typechecking happening in the execute method, it should happen in registerQuery and the execute method should expect a type checked plan.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.