databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.88k stars 751 forks source link

fix: dropped temporary table should not be shown in system.temporary_tables #16911

Closed SkyFan2002 closed 1 hour ago

SkyFan2002 commented 13 hours ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

The table meta of temp table is not cleared totally when it is replaced due to create or replace statement, which causes it to be displayed in the system tables. Thanks @xudong963 for reporting this.

Tests

Type of change


This change isโ€‚Reviewable