Skip to content

Show bound parameters everywhere, and test CLI output - #23

Merged
ivanvyd merged 1 commit into
mainfrom
feat/close-remaining-gaps
Aug 1, 2026
Merged

Show bound parameters everywhere, and test CLI output#23
ivanvyd merged 1 commit into
mainfrom
feat/close-remaining-gaps

Conversation

@ivanvyd

@ivanvyd ivanvyd commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Closes the last two actionable items from the review panel and the v0.1 roadmap.

Bound parameters reached JSON only. A terminal reader or a committed Markdown report saw SQL with placeholders and had to guess what it ran with. Both now render the values beneath the statement — the limitation is removed rather than documented.

The roadmap's CLI output tests were an unchecked box. Eighteen tests now assert the properties that are invisible when they break:

  • a table renders at 40, 80 and 200 columns without throwing
  • non-ASCII survives rendering
  • a null cell stays distinguishable from an empty one
  • a cell carrying ANSI cannot clear the screen or draw something resembling this tool's own prompt
  • truncation by Databricks is worded differently from a local row cap — conflating them tells someone their export is incomplete when only the screen was capped

167 tests, up from 149.

…operly

The bind values reached JSON only, so a terminal reader or a committed Markdown
report saw placeholders and had to guess what the statement actually ran with.
Both now render them beneath the SQL, which removes the limitation rather than
documenting it.

The roadmap's CLI output tests existed as an unchecked box. Eighteen now assert the
properties that are invisible when they break: a table renders at 40, 80 and 200
columns without throwing; non-ASCII survives rendering; a null cell stays
distinguishable from an empty one; a cell carrying ANSI cannot clear the screen or
draw something resembling this tool's own prompt; and truncation by Databricks is
worded differently from a local row cap, because conflating them tells someone
their export is incomplete when only the screen was capped.

167 tests, up from 149.
@ivanvyd
ivanvyd merged commit d79fc53 into main Aug 1, 2026
10 checks passed
@ivanvyd
ivanvyd deleted the feat/close-remaining-gaps branch August 1, 2026 09: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