Skip to content

Misc refactoring parsing - #950

Open
pgiraud wants to merge 10 commits into
masterfrom
misc_refactoring_parsing
Open

Misc refactoring parsing#950
pgiraud wants to merge 10 commits into
masterfrom
misc_refactoring_parsing

Conversation

@pgiraud

@pgiraud pgiraud commented Aug 17, 2026

Copy link
Copy Markdown
Member

No description provided.

@pgiraud
pgiraud force-pushed the misc_refactoring_parsing branch 4 times, most recently from ce0cbe0 to e9b3196 Compare August 17, 2026 11:43
Instead use a revised field for that.
Same for ACTUAL_STARTUP_TIME.
We now search for files with `-plan` suffix and determine the
corresponding `-expect` file.
InitPlan and SubPlan relationship is already set earlier.
For other cases, for:
 - Join nodes (Nested Loop, Merge Join, Hash Join), the first child is
   "Outer", the others are "Inner",
 - Append and Bitmap, relationship is "Member",
 - Subquery Scan, relationship is "Subquery".

A new file is added to from-text list. A SQL script is added to generate
both Text and JSON format plans. However, the JSON plan needed to be
adapted a bit.

From the text format, it's almost impossible to determine its value
since it will be only appear in verbose mode and if its true.
Right|Left Semi|Anti

In the tests, I had to manually delete some keys in the expect file
because it's impossible to determine them from the text format. It's the
case for Inner Unique key which appears systematically in the JSON
format but doesn't appear in text.
@pgiraud
pgiraud force-pushed the misc_refactoring_parsing branch from e9b3196 to 4dd813c Compare August 17, 2026 13:09
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.

1 participant