You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:-Need(bucket.value < search.numBuckets, E("Bucket number specified in FilterExpression was " + String.Base10Int2String(bucket.value as int) + "but it must be less than the number of buckets " + String.Base10Int2String(search.numBuckets as int)));
283
-
:-Need(bucket.value < 255, E("Bucket must be less than 255")); // unreachable
284
-
var nbucket := (bucket.value asnat) as BucketNumber;
285
-
returnSuccess((nValues, nbucket, None));
285
+
:-Need(bucket.value < search.numBuckets as uint32, E(BucketName + " specified in FilterExpression was " + String.Base10Int2String(bucket.value as int) + " must be less than the number of buckets: " + String.Base10Int2String(search.numBuckets as int)));
286
+
var nBucket := (bucket.value asnat) as BucketNumber;
287
+
288
+
var bar :-ExtractBucketQueries(values2);
289
+
var (values3, queries) := bar;
290
+
if queries.Some? {
291
+
:-Need(0 < queries.value <= search.numBuckets as uint32, E(BucketQueriesName + " specified in FilterExpression was " + String.Base10Int2String(queries.value as int) + " must be greater than zero and less than or equal to the number of buckets: " + String.Base10Int2String(search.numBuckets as int)));
292
+
:-Need(bucket.value < queries.value, E(BucketName + " value of " + String.Base10Int2String(bucket.value as int) + " should have been less than the " + BucketQueriesName + " value of " + String.Base10Int2String(queries.value as int)));
293
+
var nQueries := (queries.value asnat) as BucketCount;
0 commit comments