Details
Description
The table properties can change the behavior of wriing. e.g. the parquet table with `parquet.compression`.
If you execute the following SQL, we will get the file with snappy compression rather than zstd.
CREATE TABLE t (c int) STORED AS PARQUET; // cache table metadata SELECT * FROM t; ALTER TABLE t SET TBLPROPERTIES('parquet.compression'='zstd'); INSERT INTO TABLE t values(1);
So we should invalidate the table cache after alter table properties.