Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ numDistinct
Method
numDistinct
bolt/exec/HashTable.h:680–682 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
678
}
679
680
uint64_t numDistinct() const override {
681
return numDistinct_;
682
}
683
684
float getDistinctRatio() const override {
685
return numProbeInputs_ == 0 ? 0 : numDistinct_ * 1.0 / numProbeInputs_;
Callers
15
ensureInputFits
Method · 0.45
reclaim
Method · 0.45
addInput
Method · 0.45
recordRuntimeMetrics
Method · 0.45
reclaim
Method · 0.45
emptyBuildSide
Method · 0.45
ensureInputFits
Method · 0.45
spill
Method · 0.45
estimateOutputRowSize
Method · 0.45
asyncWaitForHashTable
Method · 0.45
addInput
Method · 0.45
getOutput
Method · 0.45
Calls
no outgoing calls
Tested by
2
describeTable
Method · 0.36
TEST_P
Function · 0.36