Skip to content

Commit

Permalink
remove file
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenc7 committed Oct 2, 2024
1 parent d03ed38 commit 8ba3594
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,9 @@ public int getOptimizedMaxInitialResultHolderCapacity() {
for (Predicate predicate : predicateColumns) {
if (predicate.getType() == Predicate.Type.IN || predicate.getType() == Predicate.Type.EQ) {
ExpressionContext lhs = predicate.getLhs();
int size = (predicate.getType() == Predicate.Type.IN) ?
((InPredicate) predicate).getValues().size() : 1;
int size = (predicate.getType() == Predicate.Type.IN)
? ((InPredicate) predicate).getValues().size()
: 1;
predicateSizeMap.merge(lhs, size, Integer::sum);
}
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ public static class QueryOptionKey {
// fashion with limited compute.
public static final String IS_SECONDARY_WORKLOAD = "isSecondaryWorkload";

// When set to true, the max initial result holder capacity will be optimized based on the query. Rather than
// using the default value. This is best-effort for now and returns the default value if the optimization is
// not possible.
public static final String OPTIMIZE_MAX_INITIAL_RESULT_HOLDER_CAPACITY =
"optimizeMaxInitialResultHolderCapacity";
}
Expand Down

0 comments on commit 8ba3594

Please sign in to comment.