Skip to content

Dropped decimal partition source renders its unscaled value #3586

Open

Description

@jopdorp

When a partition's source column is dropped, Datum's Display has no scale left, so the Unknown + Int128 arm renders the unscaled value, 123 for 1.23. We added that arm in #3300 so formatting those values doesn't panic. It lands in the partitions.* summary keys once write.summary.partition-limit is above 0. #3432 fixes the summary path by picking the newest schema that still has the partition sources. The arm stays as a no-panic fallback for direct partition_to_path calls, which still lose the scale. We'd like to track whether those callers should resolve the source type from an older schema too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions