[ 
https://issues.apache.org/jira/browse/HAWQ-927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shivram Mani updated HAWQ-927:
------------------------------
    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

  was: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.


> Send Projection Info Data from HAWQ to PXF
> ------------------------------------------
>
>                 Key: HAWQ-927
>                 URL: https://issues.apache.org/jira/browse/HAWQ-927
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: External Tables, PXF
>            Reporter: Kavinder Dhaliwal
>            Assignee: Kavinder Dhaliwal
>             Fix For: backlog
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to