Grokbase Groups Pig dev March 2011
FAQ
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

Search Discussions

  • Alan Gates (JIRA) at Jun 10, 2011 at 3:23 pm
    [ 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
  • Alan Gates (JIRA) at Jun 10, 2011 at 3:23 pm
    [ 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
  • Daniel Dai (JIRA) at Jun 15, 2011 at 9:35 pm
    [ 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
  • Alan Gates (JIRA) at Jun 15, 2011 at 9:57 pm
    [ 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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedMar 31, '11 at 3:40p
activeJun 15, '11 at 9:57p
posts5
users1
websitepig.apache.org

1 user in discussion

Alan Gates (JIRA): 5 posts

People

Translate

site design / logo © 2022 Grokbase