v.21.1Improvements
Temporary Tables Visibility in ClickHouse System Tables Updated
Temporary tables are visible in the system tablessystem.tablesandsystem.columnsnow only in those session where they have been created. The internal database_temporary_and_external_tablesis now hidden in those system tables; temporary tables are shown as tables with empty database with theis_temporaryflag set instead. #18014 (Vitaly Baranov).
Why it matters
This feature enhances the visibility and isolation of temporary tables by ensuring they are only shown in the system tables for their creating session, preventing confusion and potential conflicts across sessions. It improves system table clarity by hiding the internal database used for temporary and external tables and provides a clear flag to identify temporary tables.How to use it
No specific action is needed to enable this feature. Once updated, users will see temporary tables only in their creating session withinsystem.tables and system.columns, represented with an empty database name and the is_temporary flag set.