Skip to content

Commit

Permalink
Fixing partitioning error: ERROR: Control column given (ins_utc_tstam…
Browse files Browse the repository at this point in the history
…p) for parent table (doma_panda.jedi_job_retry_history) does not exist or must be set to NOT NULL
  • Loading branch information
EdwardKaravakis committed May 28, 2024
1 parent 95f75d5 commit 889ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/postgres/sqls/pg_PANDA_TABLE.sql
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ CREATE TABLE jedi_job_retry_history (
jeditaskid bigint NOT NULL,
oldpandaid bigint NOT NULL,
newpandaid bigint NOT NULL,
ins_utc_tstamp timestamp DEFAULT ((CURRENT_TIMESTAMP(0) AT TIME ZONE 'UTC')),
ins_utc_tstamp timestamp NOT NULL DEFAULT ((CURRENT_TIMESTAMP(0) AT TIME ZONE 'UTC')),
relationtype varchar(16),
originpandaid bigint
) PARTITION BY RANGE (ins_utc_tstamp) ;
Expand Down

0 comments on commit 889ac7c

Please sign in to comment.