Skip to content

It is not possible to work with a local temporary table in an uncommitted transaction in the new shared metadata cache mode #8969

@AlexBekhtin

Description

@AlexBekhtin
SET AUTODDL OFF;

CREATE LOCAL TEMPORARY TABLE T1 (ID INT) ON COMMIT PRESERVE ROWS;

SELECT COUNT(*) FROM MON$LOCAL_TEMPORARY_TABLES;
/*
                COUNT
=====================
                    1
*/

SELECT * FROM T1;
/*
Statement failed, SQLSTATE = 42S02
table "PUBLIC"."T1" is not defined
*/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions