You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/06/01 23:44:49 UTC

[jira] [Commented] (PIG-2084) pig is running validation for a statement at a time batch mode, instead of running it for whole script

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

Daniel Dai commented on PIG-2084:
---------------------------------

PigServer.registerQuery() will not trigger validation after the patch, unless PigServer.setValidateEachStatement(true) is called.

> pig is running validation for a statement at a time batch mode, instead of running it for whole script
> ------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2084
>                 URL: https://issues.apache.org/jira/browse/PIG-2084
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-2084.1.patch
>
>
> In PIG-2059, a change was made to run validation for each statement instead of running it once for the whole script.
> This slows down the validation phase, and it ends up taking tens of seconds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira