You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(results): drop format dropdown; add TSV view + FORMAT-clause raw passthrough
The editor toolbar's Output-format <select> (Table/TSV/JSON) overlapped the
results view switcher and was an awkward way to pick output. Remove it and make
the results view switcher the single place to choose how results render:
Table · Chart · JSON · TSV (new, client-side TabSeparatedWithNames over the
sorted rows, ClickHouse \N for nulls).
The dropdown's loved capability — "use any format in your SELECT" — is preserved
and made automatic: detectSqlFormat() spots a trailing `FORMAT …` clause and
runs the query raw, showing ClickHouse's response verbatim (CSV, Pretty,
Vertical, …) in the existing raw-text view.
Removes outputFormat state + KEYS.format + .tb-select CSS; adds Icon.tsv,
renderTsv, detectSqlFormat, and a nullText option on toTSV. 740 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QGBS74oUsXarGkCRQKEFLu
0 commit comments