Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
To achieve column projection at the level of PXF or the underlying readers we need to first send this data as a Header/Param to PXF. Currently, PXF has no knowledge whether a query requires all columns or a subset of columns.
Proposal is to send the following two attributes as part of the HTTP header in the Rest Api from HAWQ to PXF
X-GP-ATTRS-PROJ - Indicates the number of attributes/columns to be projected
X-GP-ATTRS-PROJ-IDX - Indicates the Column index(s) to be projected