Abhishek Girish created DRILL-4153:
--------------------------------------
Summary: Query with "select columnName, *" fails with IOB
Key: DRILL-4153
URL: https://issues.apache.org/jira/browse/DRILL-4153
Project: Apache Drill
Issue Type: Bug
Components: SQL Parser
Reporter: Abhishek Girish
Query with select columnName, * fails with IOB:
{code}
select c_customer_sk, * as c from dfs.tpcds_sf1_parquet.customer limit 1;
Query Failed: An Error Occurred
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR:
IndexOutOfBoundsException: index (-1) must not be negative [Error Id:
05b29f77-7668-48e3-a423-a13f0fe9e79a on atsqa6c64.qa.lab:31010]
{code}
This issue isn't seen when * precedes columnName.
Log attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)