[Enhancement] Show temp table info in infomation_schema.tables
#41686
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/compatibility
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
TiDB supports the 'local temporary table'(compatible with MySQL) and 'global temporary table'(from ANSI SQL standard). However, there is no temporary table information in
information_schema.tables
, it's not very easy to manage them.So we would like to add both local temporary and global temporary tables in
information_schema.tables
. ForTABLE_TYPE
column, we showLOCAL TEMPORARY
for a local temporary table,GLOBAL TEMPORARY
for a global temporary tableNote: this is not compatible with MySQL.
information_schema.INNODB_TEMP_TABLE_INFO
.The text was updated successfully, but these errors were encountered: