Skip to content

Conversation

@NoeB
Copy link
Contributor

@NoeB NoeB commented May 11, 2024

Which issue does this PR close?

part of #10384

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Signed-off-by: NoeB <noe.brehm@bluewin.ch>
@github-actions github-actions bot added physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt) labels May 11, 2024
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

LGTM apart from a minor nit 👍

create table t (c int) as values (4), (7), (4), (7), (15);

query IT
Select bit_xor(DISTINCT c), arrow_typeof(bit_xor(c)) from t;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Select bit_xor(DISTINCT c), arrow_typeof(bit_xor(c)) from t;
Select bit_xor(DISTINCT c), arrow_typeof(bit_xor(DISTINCT c)) from t;

nit: Technically this I think (and same for the below ones)

@NoeB
Copy link
Contributor Author

NoeB commented May 11, 2024

@Jefffrey Thank you for the review, I added a new commit which adds the missing distinct for the type

@jayzhan211
Copy link
Contributor

Thanks @NoeB and @Jefffrey

@jayzhan211 jayzhan211 merged commit c2095e4 into apache:main May 11, 2024
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
* move bit_and_or_xor unit tests to slt

Signed-off-by: NoeB <noe.brehm@bluewin.ch>

* Apply suggestions from code review

---------

Signed-off-by: NoeB <noe.brehm@bluewin.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-expr Changes to the physical-expr crates sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants