|
Engineering Ticket Description:
BI 1.x identified all numeric types as numeric, which caused us to lose some important information related to how to display results for that field.
BI 2.x will look at the samples of data and decide 1 of 3 things:
- If all types are the same, it uses that type. So, if all the sampled values for field x are integers, then an integer will be used.
- If the most used 2 types are both numeric types, then numeric will be used. So, if our sample contains both doubles and integers, then numeric will be used.
- Otherwise, a warning will be logged and the most-used type will be used. So, if our sample contains both float64 and strings, whichever is sampled more often will be used, meaning either float64 or string.
|