summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/amazon/carbonado/qe/OrderingScore.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
index a2b46b9..ce85cb6 100644
--- a/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
+++ b/src/main/java/com/amazon/carbonado/qe/OrderingScore.java
@@ -224,13 +224,6 @@ public class OrderingScore<S extends Storable> {
}
// Property not handled and not an identity filter.
-
- if (property.getDirection() == UNSPECIFIED) {
- // Specify a direction in order for a comparator to be later
- // created from remainder orderings.
- property = property.direction(ASCENDING);
- }
-
remainderProperties.add(property);
indexPos = Integer.MAX_VALUE;
}
@@ -324,9 +317,7 @@ public class OrderingScore<S extends Storable> {
/**
* Returns the ordering properties that the evaluated index does not
- * support. The list of orderings is reduced to eliminate redundancies. If
- * any remainder ordering properties originally had an unspecified
- * direction, the direction in this list is specified as ascending.
+ * support. The list of orderings is reduced to eliminate redundancies.
*
* @return remainder orderings, never null
*/