apache / apache/cloudberry

cbcopy issue

Open
#1,830 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.4k
Forks
247
Avg merge
4d 3h
Merged PRs (30d)
39

Description

Hi,

I am facing SQLSTATE 22P04 bad_copy_file_format as few tables. PFB the error snapshot

20260622:15:30:01 cbcopy:gpadmin:CB-Coord:166687-[ERROR]:-[Worker 0] Failed to copy table "staging.tmp_base_deduped": ERROR: missing data for column "data_tec_asset" (seg2
slice1 192.168.14.127:50002 pid=455087) (SQLSTATE 22P04)

cbcopy version is 1.1.4

Any solution for above

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the SQLSTATE 22P04 failure with cbcopy 1.1.4 against staging.tmp_base_deduped, then inspect the cbcopy COPY path and table data involved. Done means identifying the cause of the missing data for data_tec_asset and documenting or testing a confirmed fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, postgresql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.