Skip to content

Minor: beautify interval display - #7554

Merged
crepererum merged 2 commits into
apache:mainfrom
Weijun-H:interval-display
Sep 14, 2023
Merged

Minor: beautify interval display#7554
crepererum merged 2 commits into
apache:mainfrom
Weijun-H:interval-display

Conversation

@Weijun-H

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes#7547

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actionsgithub-actionsBot added the physical-expr Changes to the physical-expr crates label Sep 14, 2023
}

#[test]
fn test_interval_display() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both test cases result in (...], i.e. they don't really cover the if-else clauses within the formatter. I think having the 4 permutations ((...), [...), [...], (...]) would be nice.

@crepererum

Copy link
Copy Markdown
Contributor

thank you

@crepererum
crepererum merged commit c2fb263 into apache:mainSep 14, 2023
@alamb

Copy link
Copy Markdown
Contributor

Thank you @Weijun-H and @crepererum ❤️

cc @ozankabak and @wjones127

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

Labels

physical-exprChanges to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Display for Interval to output set notation representation

3 participants

@Weijun-H@crepererum@alamb