Skip to content

refactor(core): share Arrow schema compatibility checks - #11070

Merged
ibgreen merged 4 commits into
masterfrom
codex/arrow-schema-checks
Nov 9, 2026
Merged

ibgreen merged 4 commits into
masterfrom
codex/arrow-schema-checks

Conversation

@ibgreen

@ibgreen ibgreen commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

For #11069

Background

Arrow table field selection needs schema checks without uploading columns. Extract the converter's format inference and validate numeric schemas before upload.

Change List

  • Extract getArrowConversionFormat into an internal schema helper
  • Preserve converter formats, padding, and validation errors
  • Add schema tests; 14 focused Node tests pass
  • Documentation: describe accepted schemas and value validation

Lint passes. Build and website checks stop at the existing Jupyter/Lumino TS2883 type-portability error.


Note

Low Risk
Internal refactor extracting Arrow schema validation into a shared helper with test coverage and no breaking API changes.

Overview
Extracts Arrow format resolution and schema compatibility checks from ArrowConverter into a standalone getArrowConversionFormat helper. This enables verifying column data types, component widths, and semantics without allocating GPU resources or reading vector values.

Additionally, updates using-with-arrow.md documentation with explicit schema validation rules and accepted Arrow types for column inputs.

Reviewed by Cursor Bugbot for commit 8db9afc. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps

greptile-apps Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no blocking issue was identified.

Summary

Extracts Arrow schema checks into getArrowConversionFormat so callers can check types without uploading data.

  • Arrow columns now share schema checks before GPU upload.

Reviews (5) · Last reviewed commit: "fix(core): upload explicitly formatted A..." · Reviewed by Greptile

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 49a9fce. Configure here.

@ibgreen ibgreen mentioned this pull request Nov 8, 2026
7 tasks

## Schema validation

Column conversion checks Arrow type metadata before uploading values. Positions require numeric

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Bullet list?

@coveralls

coveralls commented Nov 9, 2026 •

Copy link
Copy Markdown

Coverage Status

No base build to compare — codex/arrow-schema-checks into master

@ibgreen
ibgreen merged commit 5f14105 into master Nov 9, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/arrow-schema-checks branch November 9, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants