Kavinder Dhaliwal created HAWQ-973: -------------------------------------- Summary: 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: Goden Yao
{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)