[
https://issues.apache.org/jira/browse/HAWQ-973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kavinder Dhaliwal reassigned HAWQ-973:
--------------------------------------
Assignee: Kavinder Dhaliwal (was: Goden Yao)
> Check pi_varList in pxfheaders before setting headers
> -----------------------------------------------------
>
> Key: HAWQ-973
> URL: https://issues.apache.org/jira/browse/HAWQ-973
> Project: Apache HAWQ
> Issue Type: Bug
> Components: PXF
> Reporter: Kavinder Dhaliwal
> Assignee: Kavinder Dhaliwal
>
> {code}
> add_projection_desc_httpheader
> {code}
> extracts the indices of columns to project from pi_varNumbers, but calculates
> the length based on pi_targetList. This is similar to how ExecVariableList
> handles projection. However there are cases where length(pi_targetList) >0
> and length(pi_varNumbers) == 0, so a condition on pi_varList needs to be
> added before invoking add_projection_desc_httpheader as is done in
> ExecProject.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)