You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The checks for reference + local table joins might be too aggressive as they can show up in the drop trigger.
SELECT master_add_node('localhost', 5432, groupid :=0);
CREATETABLEref (a int, b int);
SELECT create_reference_table('ref');
ALTERTABLE ref DROP COLUMN z;
ERROR: cannot join local tables and reference tables in a transaction block
CONTEXT: while executing command on127.0.0.1:5432
SQL statement "SELECT master_unmark_object_distributed(v_obj.classid, v_obj.objid, v_obj.objsubid)"
PL/pgSQL function citus_drop_trigger() line28 at PERFORM
SELECT worker_apply_shard_ddl_command (102040, 'public', 'ALTER TABLE ref DROP COLUMN z;');
ERROR: cannot join local tables and reference tables in a transaction block
CONTEXT: SQL statement "SELECT master_unmark_object_distributed(v_obj.classid, v_obj.objid, v_obj.objsubid)"
PL/pgSQL function citus_drop_trigger() line28 at PERFORM
The text was updated successfully, but these errors were encountered:
marcocitus
changed the title
Strange cannot join local tables and reference tables error
Cannot drop a column from a reference table on the coordinator
Dec 10, 2019
The checks for reference + local table joins might be too aggressive as they can show up in the drop trigger.
The text was updated successfully, but these errors were encountered: