-
Couldn't load subscription status.
- Fork 114
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When running UUID tests with a planner debugger with sanity checks activated, it crashes with the following trace:
Caused by: com.google.common.base.VerifyException
at com.google.common.base.Verify.verify(Verify.java:102)
at com.apple.foundationdb.record.query.plan.cascades.RequestedOrdering.lambda$ofPrimitiveParts$3(RequestedOrdering.java:305)
at com.apple.foundationdb.record.query.plan.cascades.debug.Debugger.lambda$sanityCheck$1(Debugger.java:150)
at com.apple.foundationdb.record.query.plan.cascades.debug.Debugger.withDebugger(Debugger.java:121)
at com.apple.foundationdb.record.query.plan.cascades.debug.Debugger.sanityCheck(Debugger.java:148)
at com.apple.foundationdb.record.query.plan.cascades.RequestedOrdering.ofPrimitiveParts(RequestedOrdering.java:305)
at com.apple.foundationdb.relational.recordlayer.query.LogicalOperator.generateSort(LogicalOperator.java:450)
at com.apple.foundationdb.relational.recordlayer.query.LogicalOperator.generateSelect(LogicalOperator.java:305)
at com.apple.foundationdb.relational.recordlayer.query.visitors.QueryVisitor.visitSimpleTable(QueryVisitor.java:252)
at com.apple.foundationdb.relational.recordlayer.query.visitors.BaseVisitor.visitSimpleTable(BaseVisitor.java:776)
at com.apple.foundationdb.relational.recordlayer.query.visitors.DelegatingVisitor.visitSimpleTable(DelegatingVisitor.java:609)
at com.apple.foundationdb.relational.recordlayer.query.visitors.DelegatingVisitor.visitSimpleTable(DelegatingVisitor.java:50)
at com.apple.foundationdb.relational.generated.RelationalParser$SimpleTableContext.accept(RelationalParser.java:10763)
at com.apple.foundationdb.relational.recordlayer.query.visitors.DdlVisitor.lambda$visitIndexDefinition$1(DdlVisitor.java:193)
This is related to attempting to create a value index that is sorted by a UUID field:
create table tc(a bigint, b uuid, c bigint, primary key(a, b))
create index tc1 as select b, c from tc order by bwhich is now supported as per #3510.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working