-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSHARP-5057: Support Range Indexes as GA (#1429)
- Loading branch information
Showing
115 changed files
with
2,143 additions
and
1,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 36 additions & 30 deletions
66
specifications/client-side-encryption/prose-tests/etc/data/range-encryptedFields-Date.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDate", | ||
"bsonType": "date", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$date": { | ||
"$numberLong": "0" | ||
} | ||
}, | ||
"max": { | ||
"$date": { | ||
"$numberLong": "200" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDate", | ||
"bsonType": "date", | ||
"queries": { | ||
"queryType": "range", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"trimFactor": { | ||
"$numberInt": "1" | ||
}, | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$date": { | ||
"$numberLong": "0" | ||
} | ||
}, | ||
"max": { | ||
"$date": { | ||
"$numberLong": "200" | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} |
47 changes: 26 additions & 21 deletions
47
...client-side-encryption/prose-tests/etc/data/range-encryptedFields-DecimalNoPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalNoPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberInt": "1" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
|
||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalNoPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "range", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"trimFactor": { | ||
"$numberInt": "1" | ||
}, | ||
"sparsity": { | ||
"$numberLong": "1" | ||
} | ||
} | ||
} | ||
] | ||
} |
64 changes: 35 additions & 29 deletions
64
...s/client-side-encryption/prose-tests/etc/data/range-encryptedFields-DecimalPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberInt": "1" | ||
}, | ||
"min": { | ||
"$numberDecimal": "0.0" | ||
}, | ||
"max": { | ||
"$numberDecimal": "200.0" | ||
}, | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "range", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"trimFactor": { | ||
"$numberInt": "1" | ||
}, | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberDecimal": "0.0" | ||
}, | ||
"max": { | ||
"$numberDecimal": "200.0" | ||
}, | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.