> On Jan. 13, 2015, 10:52 p.m., Rohini Palaniswamy wrote:
> > trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/POStore.java,
> >  line 338
> > <https://reviews.apache.org/r/29644/diff/1/?file=808161#file808161line338>
> >
> >     Why do we need this?

I need PigStoreTez comparable with PigStore. In TezCompiler, we add PigStore 
into phyToTezOpMap, and later we change PigStore to PigStoreTez, then we were 
not able to retrieve the Tez plan back.


> On Jan. 13, 2015, 10:52 p.m., Rohini Palaniswamy wrote:
> > trunk/test/org/apache/pig/test/TestMultiQueryLocal.java, line 447
> > <https://reviews.apache.org/r/29644/diff/1/?file=808163#file808163line447>
> >
> >     If the location is different why do we have to pass two diffent keys 
> > for two different output formats to get the test passing?

This test is to make sure different storer is using different context. So I use 
different key for different storer for the test. There is a difference which 
makes the test pass in MR. In tez, OutputFormat and Storer is using the same 
context, while MR is not. I don't think this is a big issue.


> On Jan. 13, 2015, 10:52 p.m., Rohini Palaniswamy wrote:
> > trunk/test/org/apache/pig/test/TestMultiQueryLocal.java, line 680
> > <https://reviews.apache.org/r/29644/diff/1/?file=808163#file808163line680>
> >
> >     Instead of splitting this test class into MR and Tez classes can we 
> > just add a method to Util class for the below line?
> >     
> >     Launcher launcher = Util.getLauncher(execType);

I try to, but how to do that? Use reflection?


> On Jan. 13, 2015, 10:52 p.m., Rohini Palaniswamy wrote:
> > trunk/test/org/apache/pig/test/TestStoreLocal.java, line 36
> > <https://reviews.apache.org/r/29644/diff/1/?file=808169#file808169line36>
> >
> >     The old TestStore code had it, but do we actually need this setting? 
> > Not done for other local test classes.

Yes, we don't really need it.


- Daniel


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29644/#review67958
-----------------------------------------------------------


On Jan. 6, 2015, 11:47 p.m., Daniel Dai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29644/
> -----------------------------------------------------------
> 
> (Updated Jan. 6, 2015, 11:47 p.m.)
> 
> 
> Review request for pig and Rohini Palaniswamy.
> 
> 
> Repository: pig
> 
> 
> Description
> -------
> 
> See PIG-4359
> 
> 
> Diffs
> -----
> 
>   
> trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/POStore.java
>  1645046 
>   trunk/test/excluded-tests-20 1645046 
>   trunk/test/org/apache/pig/test/TestMultiQueryLocal.java 1645046 
>   trunk/test/org/apache/pig/test/TestMultiQueryLocalMR.java PRE-CREATION 
>   trunk/test/org/apache/pig/test/TestPOPartialAggPlan.java 1645046 
>   trunk/test/org/apache/pig/test/TestPOPartialAggPlanMR.java PRE-CREATION 
>   trunk/test/org/apache/pig/test/TestStore.java 1645046 
>   trunk/test/org/apache/pig/test/TestStoreBase.java PRE-CREATION 
>   trunk/test/org/apache/pig/test/TestStoreLocal.java PRE-CREATION 
>   trunk/test/org/apache/pig/tez/TestMultiQueryLocalTez.java PRE-CREATION 
>   trunk/test/org/apache/pig/tez/TestPOPartialAggPlanTez.java PRE-CREATION 
>   trunk/test/org/apache/pig/tez/TezUtil.java PRE-CREATION 
>   trunk/test/tez-local-tests 1645046 
> 
> Diff: https://reviews.apache.org/r/29644/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Daniel Dai
> 
>

Reply via email to