v.25.4Improvement
Allow creating and inserting into temporary tables
Allow creating and inserting into temporary tables when disable_insertion_and_mutation is on. #77901 (Xu Jia).Why it matters
This feature provides flexibility by permitting users to work with temporary tables for intermediate data processing without being blocked by the globaldisable_insertion_and_mutation setting. It enables maintaining restrictions on permanent table modifications while still allowing necessary temporary operations.How to use it
Ensure thedisable_insertion_and_mutation setting is enabled to restrict modifications on permanent tables. You can still create and insert data into temporary tables as usual within your sessions using CREATE TEMPORARY TABLE and INSERT INTO statements.