querybook
querybook copied to clipboard
fix: added new "preformatted" transform option to properly display newlines in query results
This also includes a new "multiline" column type which is assigned when a string contains newlines (\n). The initial use case for this feature was to be able to display the results of a "show create view" or "show create table" query properly without expanding the query results.
Before:
After:
"preformatted" CSS: https://github.com/pinterest/querybook/blob/master/querybook/webapp/stylesheets/_utilities.scss
It does the same thing as expanding the cell, but it does it automatically for results with newlines without requiring the user to select the option
lgtm. @czgu do you have any other concerns?