We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: deletes on append-only tables are not supported in serializable transactions
I am computing in DuckDB and then writing the results back to Greenplum. Before writing, I need to delete existing data, but I tried two methods:
delete from gp.dm.fct_sale_stockorg_kpi where day_date > ('2024-07-04'::timestamp - '40 day'::interval) and day_date <= ('2024-07-04'::timestamp)
method2:
call postgres_execute('gp',$gp$ delete from dm.fct_sale_stockorg_kpi where day_date > ('2024-07-04'::timestamp - '40 day'::interval) and day_date <= ('2024-07-04'::timestamp) $gp$)
the first method is very slow, and the second method gives an error as described in the title. why?
centos7
gp7.1(pg12.12)
1.0.0
python3.9
wang cz
Linezone
main
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happens?
ERROR: deletes on append-only tables are not supported in serializable transactions
To Reproduce
I am computing in DuckDB and then writing the results back to Greenplum. Before writing, I need to delete existing data, but I tried two methods:
method2:
the first method is very slow,
and the second method gives an error as described in the title.
why?
OS:
centos7
PostgreSQL Version:
gp7.1(pg12.12)
DuckDB Version:
1.0.0
DuckDB Client:
python3.9
Full Name:
wang cz
Affiliation:
Linezone
Have you tried this on the latest
main
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: