Skip to content

chore: add a test case for variable packed struct#5384

Merged
Xuanwo merged 3 commits intomainfrom
xuanwo/fix-packed-struct
Dec 5, 2025
Merged

chore: add a test case for variable packed struct#5384
Xuanwo merged 3 commits intomainfrom
xuanwo/fix-packed-struct

Conversation

@Xuanwo
Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo commented Dec 2, 2025

This PR adds a new test case for variable packed struct with utf8.


This PR was primarily authored with Codex using GPT-5-Codex-Max and then hand-reviewed by me. I AM responsible for every change made in this PR. I aimed to keep it aligned with our goals, though I may have missed minor issues. Please flag anything that feels off, I'll fix it quickly.

Signed-off-by: Xuanwo <github@xuanwo.io>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions Bot added the chore label Dec 2, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

// schema: Struct<id: UInt32, uri: Utf8>
let fields = Fields::from(vec![
Arc::new(ArrowField::new("id", DataType::UInt32, false)),
Arc::new(ArrowField::new("uri", DataType::Utf8, false)),
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.

would you like to add one more case for LargeUtf8?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

makes sense

Signed-off-by: Xuanwo <github@xuanwo.io>
@Xuanwo Xuanwo merged commit 0d35e66 into main Dec 5, 2025
25 of 26 checks passed
@Xuanwo Xuanwo deleted the xuanwo/fix-packed-struct branch December 5, 2025 14:19
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
This PR adds a new test case for variable packed struct with utf8.

---

**This PR was primarily authored with Codex using GPT-5-Codex-Max and
then hand-reviewed by me. I AM responsible for every change made in this
PR. I aimed to keep it aligned with our goals, though I may have missed
minor issues. Please flag anything that feels off, I'll fix it
quickly.**

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants