> On Sept. 26, 2014, 5:55 p.m., Timothy Chen wrote:
> > exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java, line 
> > 201
> > <https://reviews.apache.org/r/26088/diff/1/?file=706172#file706172line201>
> >
> >     Why do you want to remove from the list instead of just iterating it? 
> > Not sure if anyone will assume the list passed in will get elements removed.
> 
> Jason Altekruse wrote:
>     This is to allow unordered matching. We could instead keep a track of 
> indecies that have been 'used up' and not allow those to be matched against 
> future records, however by actually removing them we have a smaller and 
> smaller list to iterate over to match the rest of the records.

I see, since it's a private method a in test wrapper I'm not too concerned, but 
in general I would copy the list so we don't modify the original param.


- Timothy


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


On Sept. 26, 2014, 5:45 p.m., Jason Altekruse wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26088/
> -----------------------------------------------------------
> 
> (Updated Sept. 26, 2014, 5:45 p.m.)
> 
> 
> Review request for drill and Mehant Baid.
> 
> 
> Repository: drill-git
> 
> 
> Description
> -------
> 
> new unit test framework to ease the process of creating unit tests with full 
> result verification
> 
> 
> Diffs
> -----
> 
>   common/src/main/java/org/apache/drill/common/types/Types.java 8ae3edd 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java
>  5e00f08 
>   exec/java-exec/src/main/resources/bootstrap-storage-plugins.json 31df303 
>   exec/java-exec/src/test/java/org/apache/drill/BaseTestQuery.java 99c4da5 
>   exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java 
> PRE-CREATION 
>   exec/java-exec/src/test/java/org/apache/drill/TestAltSortQueries.java 
> 5768908 
>   exec/java-exec/src/test/java/org/apache/drill/TestBuilder.java PRE-CREATION 
>   exec/java-exec/src/test/java/org/apache/drill/TestTestFramework.java 
> PRE-CREATION 
>   exec/java-exec/src/test/java/org/apache/drill/TestValidationFramework.java 
> PRE-CREATION 
>   
> exec/java-exec/src/test/java/org/apache/drill/exec/HyperVectorValueIterator.java
>  PRE-CREATION 
>   
> exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java
>  ac5673d 
>   exec/java-exec/src/test/resources/sort/testSelectWithLimitOffset.json 
> PRE-CREATION 
>   exec/java-exec/src/test/resources/sort/testSelectWithLimitOffset.tsv 
> PRE-CREATION 
>   
> exec/java-exec/src/test/resources/sort/testSelectWithLimitOffset_reordered.tsv
>  PRE-CREATION 
>   pom.xml 3cc4f38 
> 
> Diff: https://reviews.apache.org/r/26088/diff/
> 
> 
> Testing
> -------
> 
> Added both positive an negative unit test for varioud functionalities in the 
> unit test framework. All previous unit tests are passing.
> 
> 
> Thanks,
> 
> Jason Altekruse
> 
>

Reply via email to