fdb-record-layer
fdb-record-layer copied to clipboard
A record-oriented store built on FoundationDB
The `EvaluationContext` exhibits inconsistent behavior when attempting to dereference non-existent constant bindings. https://github.com/FoundationDB/fdb-record-layer/blob/560b04893bf3d82ecf94198a17fa7ca9f7d6bcc8/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/EvaluationContext.java#L148-L154 If the user attempts to dereference a non-existent constant reference (which is invalid), the following scenarios may...
The following SQL statement fails with an exception `com.apple.foundationdb.record.RecordCoreException: Missing binding for __const_CONSTANT`: ```sql select * from t1 where a like ‘a’ — now, the above statement is cached —...
This PR adds the ability to plan arbitrary aggregation queries using aggregation indexes as well as intersections of aggregation indexes. It also corrects/adds the infrastructure to deal with complicated order-by...
Among others, `RecordQueryAggregateIndexPlan` uses these two fields: ``` // TODO the following value should not be part of this plan @Nonnull private final Value resultValue; // TODO the following value...
Currently, all YAML tests run in auto committed mode, we would like to add support to running tests in non-auto-committed transaction to get more test coverage for a certain type...
This PR introduces the `RecordValidationRunner` that combines the various pieces of the record validation framework. This represents the externally visible API that we expect users to leverage in order to...
Create a runner to tie all the record validation components together. This would be the external API that users will use to validate and repair records in stores.
2025-01-30T07:35:23.261770Z ExplainPlanVisitorTest > doNotEvaluateOutsideOfLimit[seed=-8583523306282810308] STARTED 2025-01-30T07:35:23.305087Z ExplainPlanVisitorTest > doNotEvaluateOutsideOfLimit[seed=-8583523306282810308] FAILURE (2ms) ``` ExplainPlanVisitorTest > doNotEvaluateOutsideOfLimit(long) > doNotEvaluateOutsideOfLimit[seed=-8583523306282810308] FAILED com.apple.foundationdb.record.RecordCoreException: no default implementation at app//com.apple.foundationdb.record.query.plan.explain.ExplainPlanVisitor.visitDefault(ExplainPlanVisitor.java:659) at app//com.apple.foundationdb.record.query.plan.explain.ExplainPlanVisitor.visitDefault(ExplainPlanVisitor.java:137) at app//com.apple.foundationdb.record.query.plan.plans.RecordQueryPlanVisitor.visit(RecordQueryPlanVisitor.java:184) at app//com.apple.foundationdb.record.query.plan.explain.ExplainPlanVisitor.visit(ExplainPlanVisitor.java:648)...