Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-887

[format] For backward compatibility, new unit fields must have default values matching previous implied unit

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Component/s: Format
    • Labels:
      None

      Description

      Flatbuffer "defaults the default value" to 0. Which means we interpret previously serialized Flatbuf has having the first element of the enum. In particular Date and Time unit fields end up being read as DateUnit.DAY and TimeUnit.SECOND when the previous implied unit was MILLISECOND for both.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julienledem Julien Le Dem
                Reporter:
                julienledem Julien Le Dem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: