dynamobi/dynamobi — Issue #489: [FNL-19] assertion in BTreeBuilder
Author: dynamobi-build
Created: 2011-12-30 03:29:24+00:00
State: open
Labels: BTree, FNL

[reporter="jhyde", created="Wed, 15 Feb 2006 23:47:19 -0500 (GMT-05:00)"]
Running distinct-count query over 2 columns, get assertion

BTreeBuilder.cpp:326: void fennel::BTreeBuilder::createEmptyRoot(): Assertion `getRootPageId() == NULL_PAGE_ID' failed.

This query's plan includes a join (so that it can scan emps more than one), which is implemented as a cartesian join. Suspect that the BTreeBuilder is not being restarted correctly.

It's also possible that the distinct-count plan is flawed. I haven't looked at it that closely.