Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9295

Documentation for BI-747: Be more precise in DRDL about numeric type

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • 1

    Description

      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.

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 14 weeks ago