When running a data ingestion job where the table ...
# troubleshooting
k
When running a data ingestion job where the table spec includes a star tree index, I see output lines like: Generated 1623374 star-tree records from 3291903 segment records Finished creating aggregated documents, got -1824996 aggregated records. Wondering why it’s reporting a negative number of aggregated records…
m
Seems like a bug.
k
its a logging bug
Copy code
int numRecordsUnderStarNode = _numDocs - numStarTreeRecords;
    <http://LOGGER.info|LOGGER.info>("Finished constructing star-tree, got {} tree nodes and {} records under star-node", _numNodes,
        numRecordsUnderStarNode);

    createAggregatedDocs(_rootNode);
    int numAggregatedRecords = _numDocs - numSegmentRecords - numRecordsUnderStarNode;
@Jackie ^^
@Ken Krugler Thanks for reporting the issue
k
@Jackie - wow, that was fast 🙂