Skip to content

[Main] Add Apache HAWQ attribution for gpcontrib/pxf_fdw - #2125

Merged
tuhaihe merged 1 commit into
mainfrom
license-hawq-pxf-fdw
Oct 17, 2026
Merged

tuhaihe merged 1 commit into
mainfrom
license-hawq-pxf-fdw

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Oct 14, 2026

Copy link
Copy Markdown
Member

Greenplum Database took part of gpcontrib/pxf_fdw from the PXF external table client in Apache HAWQ in 2017, and six of its files still contain HAWQ code. Neither LICENSE nor NOTICE mentioned HAWQ.

List those six files in the Apache License part of the Greenplum section in LICENSE. Add HAWQ's copyright notice to NOTICE, worded the same way as in cloudberry-pxf's NOTICE.

The table shows what fraction of each file's code lines (whitespace normalized) also appear in the HAWQ file:

  pxf_filter.h    64%  src/include/access/pxffilters.h
  libchurl.c      60%  src/backend/access/external/libchurl.c
  pxf_filter.c    50%  src/backend/access/external/pxffilters.c
  libchurl.h      33%  src/include/access/libchurl.h
  pxf_fragment.h  30%  src/include/access/pxfutils.h
  pxf_header.c    26%  src/backend/access/external/pxfheaders.c

pxf_bridge.c, pxf_bridge.h and pxf_header.h carry the same ASF header but have no lines in common with HAWQ, and LICENSE now says so. pxf_deparse.c and pxf_option.c come from postgres_fdw and file_fdw, and the PostgreSQL section already covers them.

Assisted-by: Claude Code

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


Greenplum Database took part of gpcontrib/pxf_fdw from the PXF external
table client in Apache HAWQ in 2017, and six of its files still contain
HAWQ code.  Neither LICENSE nor NOTICE mentioned HAWQ.

List those six files in the Apache License part of the Greenplum section
in LICENSE.  Add HAWQ's copyright notice to NOTICE, worded the same way
as in cloudberry-pxf's NOTICE.

The table shows what fraction of each file's code lines (whitespace
normalized) also appear in the HAWQ file:

  pxf_filter.h    64%  src/include/access/pxffilters.h
  libchurl.c      60%  src/backend/access/external/libchurl.c
  pxf_filter.c    50%  src/backend/access/external/pxffilters.c
  libchurl.h      33%  src/include/access/libchurl.h
  pxf_fragment.h  30%  src/include/access/pxfutils.h
  pxf_header.c    26%  src/backend/access/external/pxfheaders.c

pxf_bridge.c, pxf_bridge.h and pxf_header.h carry the same ASF header
but have no lines in common with HAWQ, and LICENSE now says so.
pxf_deparse.c and pxf_option.c come from postgres_fdw and file_fdw, and
the PostgreSQL section already covers them.

Assisted-by: Claude Code
@tuhaihe
tuhaihe force-pushed the license-hawq-pxf-fdw branch from fe1f36e to 29882a8 Compare October 16, 2026 12:29
@tuhaihe
tuhaihe enabled auto-merge (rebase) October 16, 2026 12:30
@tuhaihe
tuhaihe merged commit 77ee834 into main Oct 17, 2026
311 of 315 checks passed
@tuhaihe
tuhaihe deleted the license-hawq-pxf-fdw branch October 17, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants