v.23.10Improvement
Added Settings for DESCRIBE Query: Include Virtual Columns and Compact Output Option
Added settingdescribe_include_virtual_columns, which allows to include virtual columns of table into result ofDESCRIBEquery. Added settingdescribe_compact_output. If it is set totrue,DESCRIBEquery returns only names and types of columns without extra information. #55129 (Anton Popov).
Why it matters
These settings improve the usability of theDESCRIBE query by allowing users to see virtual columns, which are normally hidden, and by enabling a compact output format that omits extra information, making the output easier to read and parse.How to use it
Enable the features by setting the new settings in your session or query settings as follows:SET describe_include_virtual_columns = 1;
SET describe_compact_output = 1;Then run your usual
DESCRIBE query on the table to get the enhanced output.