Skip to content

Commit

Permalink
Handling OOM error in ExpressionVector setup by reducing number of ro…
Browse files Browse the repository at this point in the history
…ws (apache#12186)

* Handling OOM error in ExpressionVector setup by reducing number of rows

* Removing row size to 10K in sanity tests

(cherry picked from commit cc8b9c0)
  • Loading branch information
somu-imply authored and harinirajendran committed Feb 24, 2022
1 parent 1c1d6ad commit f3e160f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class ExpressionVectorSelectorsTest
"concat(string1, nonexistent)"
);

private static final int ROWS_PER_SEGMENT = 100_000;
private static final int ROWS_PER_SEGMENT = 10_000;

private static QueryableIndex INDEX;
private static Closer CLOSER;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class SqlVectorizedExpressionSanityTest extends InitializedNullHandlingTe
"SELECT CONCAT(string1, '-', string2, '-', long1, '-', double1, '-', float1) FROM foo GROUP BY 1"
);

private static final int ROWS_PER_SEGMENT = 100_000;
private static final int ROWS_PER_SEGMENT = 10_000;

private static QueryableIndex INDEX;
private static Closer CLOSER;
Expand Down

0 comments on commit f3e160f

Please sign in to comment.