Skip to content

GH-51638: [CI][C++][Parquet] Update expected JSON output in parquet-reader-test for simdjson 5.0 - #51661

Open
tadeja wants to merge 1 commit into
apache:mainfrom
tadeja:51638-parquet-JSONOutput
Open

tadeja wants to merge 1 commit into
apache:mainfrom
tadeja:51638-parquet-JSONOutput

Conversation

@tadeja

@tadeja tadeja commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Rationale for this change

See #51638 - fractured_json formatting changes with the new simdjson version 5.0 (whitespace, line breaks, key order in tables),
cause parquet-reader-test to fail on four of its tests TestJSONWithLocalFile.JSONOutput...

What changes are included in this PR?

Check simdjson::SIMDJSON_VERSION_MAJOR, and for >= 5 use the new expected formatting (JSON content hasn't changed).
Keep existing expected output formatting for simdjson 4.x

Are these changes tested?

Yes, CI runs pass.

Are there any user-facing changes?

No, only test changes.

Was AI used for this PR?

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

@tadeja
tadeja marked this pull request as ready for review September 30, 2026 17:23
Copilot AI balanced review requested due to automatic review settings September 30, 2026 17:23

Copilot AI left a comment

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.

Copilot review overview

🟢 Approval recommended

The version-specific expectations match the generated field order, and relevant C++ CI checks pass.

Review effort: Balanced
Findings: None

What changed in this PR

Updates Parquet reader test expectations for simdjson 5.0 formatting while preserving compatibility with 4.x.

Changes:

  • Selects expected JSON formatting by simdjson major version.
  • Updates four affected JSON-output tests.
File Description
cpp/​src/​parquet/​reader_test.cc Adds simdjson 5.x expected output variants.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants