chore: update to arrow-58#190
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis pull request upgrades Arrow/Parquet crate versions from 56 to 58 and serde_arrow from 0.13.5 to 0.14. The codebase is then updated to use new parquet metadata types and accessor patterns introduced by these dependency upgrades. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
src/commands/dataset/convert.rs (1)
100-108: Optional: useSelfin theFromimpl body.Inside
impl From<SortingColumn> for parquet::file::metadata::SortingColumn, you can drop the fully-qualified path on Line 102 and useSelf { ... }for symmetry with the corresponding wasm impl indata-utils/src/wasm/write.rs(Line 359-367).♻️ Proposed cleanup
impl From<SortingColumn> for parquet::file::metadata::SortingColumn { fn from(value: SortingColumn) -> Self { - parquet::file::metadata::SortingColumn { + Self { column_idx: value.column_idx, descending: value.descending, nulls_first: value.nulls_first, } } }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/commands/dataset/convert.rs` around lines 100 - 108, In the impl From<SortingColumn> for parquet::file::metadata::SortingColumn, replace the explicit fully-qualified constructor parquet::file::metadata::SortingColumn { ... } inside fn from with Self { column_idx: value.column_idx, descending: value.descending, nulls_first: value.nulls_first } so the impl uses Self for symmetry with the wasm variant and reduces verbosity; keep the impl signature and field mappings unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@src/commands/dataset/convert.rs`:
- Around line 100-108: In the impl From<SortingColumn> for
parquet::file::metadata::SortingColumn, replace the explicit fully-qualified
constructor parquet::file::metadata::SortingColumn { ... } inside fn from with
Self { column_idx: value.column_idx, descending: value.descending, nulls_first:
value.nulls_first } so the impl uses Self for symmetry with the wasm variant and
reduces verbosity; keep the impl signature and field mappings unchanged.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: a51e7725-cd1c-451f-8224-d54ec6003030
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lock
📒 Files selected for processing (7)
Cargo.tomldata-utils/Cargo.tomldata-utils/src/infer.rsdata-utils/src/wasm/write.rsdata-utils/src/write.rssrc/commands/dataset/convert.rssrc/commands/dataset/upload.rs
6fbbb9b to
cb88b59
Compare
Summary by CodeRabbit
Dependencies
Refactor