You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2011/03/31 17:40:05 UTC

[jira] [Created] (PIG-1950) e2e test harness needs to be able to compare to previous version of Pig

e2e test harness needs to be able to compare to previous version of Pig
-----------------------------------------------------------------------

                 Key: PIG-1950
                 URL: https://issues.apache.org/jira/browse/PIG-1950
             Project: Pig
          Issue Type: New Feature
          Components: tools
            Reporter: Alan Gates
            Assignee: Alan Gates
            Priority: Minor


Currently the e2e test harness can work either against a database or it can compare against canned results.  We should also give an option to use an old version of Pig to test against.  This has value for two cases.  One, for scripts that cannot be tested against tested against a SQL database we do not have to carry the expected results.  Two, we can use it for compatibility testing between versions.

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

[jira] [Commented] (PIG-1950) e2e test harness needs to be able to compare to previous version of Pig

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050049#comment-13050049 ] 

Daniel Dai commented on PIG-1950:
---------------------------------

+1

> e2e test harness needs to be able to compare to previous version of Pig
> -----------------------------------------------------------------------
>
>                 Key: PIG-1950
>                 URL: https://issues.apache.org/jira/browse/PIG-1950
>             Project: Pig
>          Issue Type: New Feature
>          Components: tools
>    Affects Versions: 0.10
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: PIG-1950.patch
>
>
> Currently the e2e test harness can work either against a database or it can compare against canned results.  We should also give an option to use an old version of Pig to test against.  This has value for two cases.  One, for scripts that cannot be tested against tested against a SQL database we do not have to carry the expected results.  Two, we can use it for compatibility testing between versions.

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

        

[jira] [Updated] (PIG-1950) e2e test harness needs to be able to compare to previous version of Pig

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

Alan Gates updated PIG-1950:
----------------------------

        Fix Version/s: 0.10
    Affects Version/s: 0.10
               Status: Patch Available  (was: Open)

> e2e test harness needs to be able to compare to previous version of Pig
> -----------------------------------------------------------------------
>
>                 Key: PIG-1950
>                 URL: https://issues.apache.org/jira/browse/PIG-1950
>             Project: Pig
>          Issue Type: New Feature
>          Components: tools
>    Affects Versions: 0.10
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: PIG-1950.patch
>
>
> Currently the e2e test harness can work either against a database or it can compare against canned results.  We should also give an option to use an old version of Pig to test against.  This has value for two cases.  One, for scripts that cannot be tested against tested against a SQL database we do not have to carry the expected results.  Two, we can use it for compatibility testing between versions.

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

[jira] [Updated] (PIG-1950) e2e test harness needs to be able to compare to previous version of Pig

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

Alan Gates updated PIG-1950:
----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Patch checked in.

> e2e test harness needs to be able to compare to previous version of Pig
> -----------------------------------------------------------------------
>
>                 Key: PIG-1950
>                 URL: https://issues.apache.org/jira/browse/PIG-1950
>             Project: Pig
>          Issue Type: New Feature
>          Components: tools
>    Affects Versions: 0.10
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: PIG-1950.patch
>
>
> Currently the e2e test harness can work either against a database or it can compare against canned results.  We should also give an option to use an old version of Pig to test against.  This has value for two cases.  One, for scripts that cannot be tested against tested against a SQL database we do not have to carry the expected results.  Two, we can use it for compatibility testing between versions.

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

        

[jira] [Updated] (PIG-1950) e2e test harness needs to be able to compare to previous version of Pig

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

Alan Gates updated PIG-1950:
----------------------------

    Attachment: PIG-1950.patch

This patch adds three new recognized hash keys in the tests:

# verify_with_pig:  Tells the test harness to use Pig instead of SQL to generate the benchmark.  At this point a SQL query is still required in the tests because the test driver uses the existence and number of the SQL queries all over the place to determine whether or not this is a multi-query test.
# verify_pig_version:  If set to old, then the config entry 'oldpigpath' will be used to find Pig instead of 'pigpath'.  The user can set this value by defining the environment variable PH_OLDPIG when running the test harness.  This value does not have to be set
# verify_pig_script:  If set to a Pig Latin script, this script will be used to generate results.  If not set, then the original Pig script will be used.

The two main uses cases are verify against a previous version (in which case you set verify_with_pig=1 and verify_pig_version=old) or writing an alternate Pig script that should produce the same results (in which case you set verify_with_pig=1 and verify_pig_script to the alternate script).


> e2e test harness needs to be able to compare to previous version of Pig
> -----------------------------------------------------------------------
>
>                 Key: PIG-1950
>                 URL: https://issues.apache.org/jira/browse/PIG-1950
>             Project: Pig
>          Issue Type: New Feature
>          Components: tools
>    Affects Versions: 0.10
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: PIG-1950.patch
>
>
> Currently the e2e test harness can work either against a database or it can compare against canned results.  We should also give an option to use an old version of Pig to test against.  This has value for two cases.  One, for scripts that cannot be tested against tested against a SQL database we do not have to carry the expected results.  Two, we can use it for compatibility testing between versions.

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