Skip to content

server-verifier: use the request's output_type as is - #98

Merged
abetomo merged 1 commit into
groonga:mainfrom
abetomo:output_type-arrow
Oct 6, 2026
Merged

abetomo merged 1 commit into
groonga:mainfrom
abetomo:output_type-arrow

Conversation

@abetomo

@abetomo abetomo commented Sep 28, 2026

Copy link
Copy Markdown
Member

Even specifying output_type=arrow was overridden by json, so just use it as is.

As a result, when output_type=arrow, regression tests may now show differences in the Apache Arrow column type depending on the version of Groonga being used.
So, the type is normalized.

Even specifying `output_type=arrow` was overridden by `json`, so just use it as is.

As a result, when `output_type=arrow`, regression tests may now show differences in the Apache Arrow column type depending on the version of Groonga being used.
So, the type is normalized.
Copilot AI lite review requested due to automatic review settings September 28, 2026 00:15

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

No unresolved blocking issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

This pull request preserves requested output formats and normalizes Apache Arrow dictionary types across Groonga versions.

Changes:

  • Stops forcing requests to JSON.
  • Normalizes dictionary-encoded Arrow types.
  • Adds regression tests for string and list dictionary types.
File Description
test/​test-response-comparer.rb Tests dictionary type normalization.
lib/​groonga-query-log/​server-verifier.rb Preserves the request’s output type.
lib/​groonga-query-log/​response-comparer.rb Normalizes dictionary-encoded column types.

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

@abetomo
abetomo merged commit 63f9548 into groonga:main Oct 6, 2026
6 checks passed
@abetomo
abetomo deleted the output_type-arrow branch October 6, 2026 07:11
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