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



exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/EmptyValuePopulator.java
 (line 46)
<https://reviews.apache.org/r/35942/#comment142191>

    This seems to fix the symptom. The only case I can think of that would 
require this ternary statement here is when offsets vector has zero elements, 
which breaks the invariant of this class. What is causing offsets vector to 
come empty?


- Hanifi Gunes


On June 26, 2015, 8:35 p.m., Jason Altekruse wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35942/
> -----------------------------------------------------------
> 
> (Updated June 26, 2015, 8:35 p.m.)
> 
> 
> Review request for drill and Venki Korukanti.
> 
> 
> Bugs: DRILL-1673
>     https://issues.apache.org/jira/browse/DRILL-1673
> 
> 
> Repository: drill-git
> 
> 
> Description
> -------
> 
> There were two small issues in ValueVectors that caused this to fail. This 
> patches fixes those issues and a few new flatten tests. To validate the 
> flatten results a small reference implementation was added to generate 
> baselines.
> 
> 
> Diffs
> -----
> 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/EmptyValuePopulator.java
>  8c61a60 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/vector/complex/RepeatedListVector.java
>  f538399 
>   exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java d4e7ed6 
>   
> exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/flatten/TestFlatten.java
>  6f5a303 
>   
> exec/java-exec/src/test/resources/flatten/complex_transaction_example_data.json
>  PRE-CREATION 
>   exec/java-exec/src/test/resources/store/json/1673.json PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/35942/diff/
> 
> 
> Testing
> -------
> 
> Unit tests run, regression in progress
> 
> 
> Thanks,
> 
> Jason Altekruse
> 
>

Reply via email to