Skip to content

COPY ... ON SEGMENT on REPLICATED tables: FROM returns N× in Greenplum but only 1× in Cloudberry #1298

@robertmu

Description

@robertmu
 -- Cloudberry cluster with 4 segments
 -- Greenplum cluster with 4 segments

  create table tab_replicated(a int, b int, c int) distributed replicated;
  insert into tab_replicated select i, i, i from generate_series(1, 100) i;

  copy tab_replicated to '/home/cbdb/tab_replicated_<SEGID>.txt' on segment;
  -- Greenplum: COPY 400   |  Cloudberry: COPY 400

  create table tab_replicated_new(a int, b int, c int) distributed replicated;
  copy tab_replicated_new from '/home/cbdb/tab_replicated_<SEGID>.txt' on segment;
  -- Greenplum: COPY 400   |  Cloudberry: COPY 100  (unexpected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions