Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64417

Lossless printing of SBE values, rows and stage results

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QE 2022-04-04, QE 2022-03-21

    Description

      Problem:

      Stream writers for SBE values truncate large arrays, and also omit types for certain primitive values (like numericals).

      We would like to use printing of the values for testing and not lose any significant information when printing to stream.

      There does not appear a utility allowing to print stage execution results.

      Proposed solution:

      Add PrintOptions that control:

      • max depth or array size
      • whether to print data types for numeric types and also date (that otherwise is printed as int64). We should also consider making this option true by default or always true,

       Add utility for printing stage execution results.

      Attachments

        Activity

          People

            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            anna.wawrzyniak@mongodb.com Anna Wawrzyniak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: