Comments (2)
I debugged this a bit and it looks like a bug.
Repro Steps:
On the coordinator
CREATE TABLE billing.test_table
( report_id int8 NULL,
date_id int4 NOT NULL);
SELECT create_distributed_table('test_table', 'report_id');
CREATE OR REPLACE PROCEDURE billing.test_delete_from(p_date_id int)
LANGUAGE plpgsql AS
$$
BEGIN
DELETE FROM billing.test_table
WHERE date_id = p_date_id;
END;$$;
LOAD 'auto_explain';
SET auto_explain.log_min_duration = 0;
SET auto_explain.log_analyze to true;
CALL billing.test_delete_from(20240401);
Note that log_analyze being true or false produces different type of failures.
Below steps throws an error as well albeit a different on from reported.
CREATE TABLE billing.test_table
( report_id int8 NULL,
date_id int4 NOT NULL);
SELECT create_distributed_table('test_table', 'report_id');
CREATE OR REPLACE PROCEDURE billing.test_delete_from(p_date_id int)
LANGUAGE plpgsql AS
$$
BEGIN
DELETE FROM billing.test_table
WHERE date_id = p_date_id;
END;$$;
LOAD 'auto_explain';
SET auto_explain.log_min_duration = 0;
RESET auto_explain.log_analyze;
CALL billing.test_delete_from(20240401);
from citus.
Created a PR #7598 for a possible solution.
from citus.
Related Issues (20)
- Having error while using checkout v4 action in check-sql-snapshots
- Debezium support HOT 2
- [Feature request] Worker nodes read only mode HOT 1
- looks like Issue with MERGE Command. HOT 1
- [doc] wrong code comments for function PopUnassignedPlacementExecution HOT 1
- [Feature question] CDC support in Citus
- `alter_table_set_access_method` AccessExclusiveLock HOT 2
- ERROR: no binary output function available for type theta_sketch HOT 5
- Distributed transactions under a concurrency scenario HOT 2
- Assert when executing SELECT citus_set_coordinator_host('localhost');
- postgresql is crashing when selecting from citus columnar table HOT 1
- PG17Beta2 Support - Regression tests sanity
- Query on Best Practices for Handling High Bandwidth on the Coordinator in Large Citus Clusters
- Pg_basebackup error: COPY stream ended before last file was finished14 on Citus worker
- [Performance, Columnar] window function in subquery greatly slows down query, even when unreferenced
- limit null is implementation is broken when offset is used
- Test database is failing on release-12.1 + REL_16_STABLE
- FATAL: could not load server certificate file "server.crt": ee key too small HOT 3
- The citus cluster has collapsed HOT 3
- Flaky single_node_enterprise test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citus.