Skip to content

feat: Arrow integration JSON reader and test suite - #109

Open
winding-lines wants to merge 1 commit into
kszucs:mainfrom
winding-lines:json-dep
Open

feat: Arrow integration JSON reader and test suite#109
winding-lines wants to merge 1 commit into
kszucs:mainfrom
winding-lines:json-dep

Conversation

@winding-lines

Copy link
Copy Markdown
Collaborator

Add marrow/integration.mojo with read_json_file() that parses Apache Arrow integration testing JSON files into Schema + List[RecordBatch]. Supports bool, int8/16/32/64, uint8/16/32/64, float32/64, utf8, list, fixed-size list, and struct column types via Python json interop.

Add JSON fixtures under testing/integration/ (primitives, booleans, strings, lists, structs) and 16 tests in test_json_integration.mojo covering schema parsing, validity bitmaps, and element values for all supported types.

@winding-lines winding-lines changed the title feat(integration): Arrow integration JSON reader and test suite feat: Arrow integration JSON reader and test suite Apr 19, 2026
@winding-lines
winding-lines force-pushed the json-dep branch 3 times, most recently from 2b2ec14 to 2c51acd Compare April 19, 2026 13:11
Add marrow/integration.mojo with read_json_file() that parses Apache
Arrow integration testing JSON files into Schema + List[RecordBatch].
Supports bool, int8/16/32/64, uint8/16/32/64, float32/64, utf8, list,
fixed-size list, and struct column types via Python json interop.

Add JSON fixtures under testing/integration/ (primitives, booleans,
strings, lists, structs) and 16 tests in test_json_integration.mojo
covering schema parsing, validity bitmaps, and element values for all
supported types.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kszucs

kszucs commented Apr 19, 2026

Copy link
Copy Markdown
Owner

Thanks @winding-lines! We definitely need this. Let me review it.

Comment thread pixi.toml
pytest = ">=9.0.2,<10"
pytest-benchmark = ">=5.2.3,<6"
pytest-xdist = ">=3,<4"
json = { git = "https://github.com/ehsanmok/json.git", tag = "v0.1.2" }

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Could we use the python json lib instead for integration testing? It is not performance critical but we need correctness.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

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.

Thanks, I realized I was missing the point of the exercise just wasn't sure where to look 🤣

@kszucs

kszucs commented May 11, 2026

Copy link
Copy Markdown
Owner

We should close it in favor of the new integration testing suite now in main.

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.

2 participants