v.1.1.54362New Feature

Added Virtual Columns to system.tables Table

Added the create_table_query and engine_full virtual columns to the system.tablestable . The metadata_modification_time column is virtual.
Added the create_table_query and engine_full virtual columns to the system.tables table, along with the metadata_modification_time column as a virtual column.

Why it matters

This feature provides users with enhanced metadata visibility by exposing the full CREATE TABLE query, the complete engine description, and the metadata modification timestamp directly within the system.tables table. It helps users to easily inspect table definitions and metadata changes without extra queries or file access.

How to use it

Users can query the newly added virtual columns directly from the system.tables table in SQL. For example, use:

SELECT name, create_table_query, engine_full, metadata_modification_time
FROM system.tables
WHERE database = 'your_database'


This will show the table schema creation query, engine details, and metadata modification time for each table.