Enhancement
As you can see in the logic of GenerateHistCollFromColumnInfo(), the content of HistColl.ColID2IdxIDs comes from the result of iterating through a map. However, in Go, we can't assure the order of iterating a map. This adds an unstable factor in the row count estimation logic.
We need to make it stable.