Skip to content

Implement Display for Interval to output set notation representation #7547

@alamb

Description

@alamb

Is your feature request related to a problem or challenge?

As suggested by @wjones127 on #7526 (comment)

When working with Interval analysis the output format is sometimes hard to grok

Describe the solution you'd like

As @wjones127 suggests:

Would be cool to get something like [10, 20], [10, ∞), (-∞, 100] or (-∞, ∞) back. But if we don't feel like that's idiomatic Rust, we should at least change the representation so it indicates whether the bounds are open or closed. Right now the Display implementation for IntervalBound just uses value.

Describe alternatives you've considered

No response

Additional context

I think this is a fairly straightforward coding exercise that would be a good way to get exposure to the DataFusion codebase and interval analysis in particular. Thus marking as good first issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions