Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jun 4, 2025

Which issue does this PR close?

We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax.

Rationale for this change

While doing local development I found there were several clippy failures in the parquet-variant crate which failed when running cargo clippy --workspace

I fixed them to get a clean run and added some CI checks to avoid in the future

What changes are included in this PR?

  1. Add basic CI checks for parquet-variant (test, clippy, and compile)
  2. Fix clippy errors

Are there any user-facing changes?

No, this is all internal work only

@alamb alamb added the development-process Related to development process of arrow-rs label Jun 4, 2025
Copy link
Contributor

@scovich scovich left a comment

Choose a reason for hiding this comment

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

LGTM

OffsetSizeBytes::Three
.unpack_usize(&buf_three, 0, 0)
.unwrap(),
0x0302_01
Copy link
Contributor

Choose a reason for hiding this comment

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

odd, I didn't think clippy took a stance on how to break up long numbers with _?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It complained to me that they didn't have equal widths and suggested 0x0030_0201 which I felt was even more obscure so I just removed the _ entirely

@alamb alamb merged commit 6deefb7 into apache:main Jun 4, 2025
33 of 34 checks passed
@alamb
Copy link
Contributor Author

alamb commented Jun 4, 2025

Thanks @mkarbo and @scovich . Onward!

@alamb alamb deleted the alamb/variant-ci branch June 4, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of arrow-rs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants