Support kebab-case Hyper plan JSON keys (backward compatible)#138
Open
PerFuchs wants to merge 1 commit into
Open
Support kebab-case Hyper plan JSON keys (backward compatible)#138PerFuchs wants to merge 1 commit into
PerFuchs wants to merge 1 commit into
Conversation
Hyper PR #13364 (hyper-db) renamed plan JSON property keys from camelCase to kebab-case (e.g. operatorId -> operator-id, debugName -> debug-name, valueForComparison -> value-for-comparison). Only keys changed; enum/tag values (operator tags, join types, ...) keep their camelCase spelling. The Hyper loader is largely key-agnostic, but it reads three renamed keys by literal name. Accept both spellings so plans produced before and after the cutover both render: - operatorId / operator-id (operator id map + crosslink resolution) - debugName / debug-name (display name + always-shown property) - valueForComparison / value-for-comparison (fixed child ordering) Other referenced keys (analyze, sqlpos, cpu-cycles, tuple-count, and the crosslink source keys magic/builder/input/source) were not renamed by the PR and are unchanged. Adds a kebab-case tablescan example plan.
PerFuchs
marked this pull request as ready for review
July 16, 2026 11:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hyper PR hyper-db#13364 renamed the plan JSON property keys from camelCase to kebab-case (e.g. operatorId → operator-id, debugName → debug-name, valueForComparison → value-for-comparison). Only keys changed — enum/tag values (operator tags, join types, window/aggregate function names) keep their camelCase spelling. This PR adds support for the new casing while keeping backward compatibility with the old casing.