Skip to content

feat: add tableless rendertree layout#47

Draft
apstndb wants to merge 4 commits into
mainfrom
rendertree-tableless-layout
Draft

feat: add tableless rendertree layout#47
apstndb wants to merge 4 commits into
mainfrom
rendertree-tableless-layout

Conversation

@apstndb
Copy link
Copy Markdown
Owner

@apstndb apstndb commented Jun 5, 2026

Summary

  • Add a tableless rendering layout for rendertree, exposed through --layout=tableless and the --tableless shortcut.
  • Add matching support in the plantree/reference package with a Layout enum-style config option.
  • Render tableless output with a one-character | separator, right-align numeric columns, trim table padding, and document the center-alignment limitation.
  • Update CLI and reference docs plus focused tests and golden output coverage.

Validation

  • go test ./...
  • go test ./asciitable
  • go test ./cmd/rendertree/impl
  • go test ./plantree/reference
  • git diff --check

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new 'tableless' layout option for rendering Spanner query plans, allowing rows to be rendered without an ASCII table grid using a pipe ('|') as a column separator. This feature is implemented in the asciitable package, exposed via the --layout=tableless and --tableless CLI flags in rendertree, and integrated into the plantree/reference API alongside comprehensive tests and documentation. I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

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