[jira] [Updated] (DRILL-3679) IOB Exception : when window functions used in outer and inner query

2015-08-24 Thread Deneche A. Hakim (JIRA)

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

Deneche A. Hakim updated DRILL-3679:

Assignee: Jinfeng Ni  (was: Deneche A. Hakim)

 IOB Exception : when window functions used in outer and inner query
 ---

 Key: DRILL-3679
 URL: https://issues.apache.org/jira/browse/DRILL-3679
 Project: Apache Drill
  Issue Type: Bug
  Components: Query Planning  Optimization
Affects Versions: 1.2.0
 Environment: private-branch 
 https://github.com/adeneche/incubator-drill/tree/new-window-funcs
Reporter: Khurram Faraaz
Assignee: Jinfeng Ni
  Labels: window_function
 Fix For: 1.2.0


 IOB Exception seen when two different window functions are used in inner and 
 outer queries.
 {code}
 0: jdbc:drill:schema=dfs.tmp select rnum, position_id, ntile(4) over(order 
 by position_id) from (select position_id, row_number() over(order by 
 position_id) as rnum from cp.`employee.json`);
 java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: 
 IndexOutOfBoundsException: index: 0, length: 4 (expected: range(0, 0))
 Fragment 0:0
 [Error Id: 8e0cbf82-842d-4fa7-ab0d-1d982a3d6c24 on centos-03.qa.lab:31010]
   at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
   at 
 sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87)
   at sqlline.TableOutputFormat.print(TableOutputFormat.java:118)
   at sqlline.SqlLine.print(SqlLine.java:1583)
   at sqlline.Commands.execute(Commands.java:852)
   at sqlline.Commands.sql(Commands.java:751)
   at sqlline.SqlLine.dispatch(SqlLine.java:738)
   at sqlline.SqlLine.begin(SqlLine.java:612)
   at sqlline.SqlLine.start(SqlLine.java:366)
   at sqlline.SqlLine.main(SqlLine.java:259)
 {code}



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


[jira] [Updated] (DRILL-3679) IOB Exception : when window functions used in outer and inner query

2015-08-24 Thread Deneche A. Hakim (JIRA)

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

Deneche A. Hakim updated DRILL-3679:

Component/s: (was: Execution - Relational Operators)
 Query Planning  Optimization

 IOB Exception : when window functions used in outer and inner query
 ---

 Key: DRILL-3679
 URL: https://issues.apache.org/jira/browse/DRILL-3679
 Project: Apache Drill
  Issue Type: Bug
  Components: Query Planning  Optimization
Affects Versions: 1.2.0
 Environment: private-branch 
 https://github.com/adeneche/incubator-drill/tree/new-window-funcs
Reporter: Khurram Faraaz
Assignee: Deneche A. Hakim
  Labels: window_function
 Fix For: 1.2.0


 IOB Exception seen when two different window functions are used in inner and 
 outer queries.
 {code}
 0: jdbc:drill:schema=dfs.tmp select rnum, position_id, ntile(4) over(order 
 by position_id) from (select position_id, row_number() over(order by 
 position_id) as rnum from cp.`employee.json`);
 java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: 
 IndexOutOfBoundsException: index: 0, length: 4 (expected: range(0, 0))
 Fragment 0:0
 [Error Id: 8e0cbf82-842d-4fa7-ab0d-1d982a3d6c24 on centos-03.qa.lab:31010]
   at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
   at 
 sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87)
   at sqlline.TableOutputFormat.print(TableOutputFormat.java:118)
   at sqlline.SqlLine.print(SqlLine.java:1583)
   at sqlline.Commands.execute(Commands.java:852)
   at sqlline.Commands.sql(Commands.java:751)
   at sqlline.SqlLine.dispatch(SqlLine.java:738)
   at sqlline.SqlLine.begin(SqlLine.java:612)
   at sqlline.SqlLine.start(SqlLine.java:366)
   at sqlline.SqlLine.main(SqlLine.java:259)
 {code}



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


[jira] [Updated] (DRILL-3679) IOB Exception : when window functions used in outer and inner query

2015-08-20 Thread Deneche A. Hakim (JIRA)

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

Deneche A. Hakim updated DRILL-3679:

Component/s: (was: Execution - Flow)
 Execution - Relational Operators

 IOB Exception : when window functions used in outer and inner query
 ---

 Key: DRILL-3679
 URL: https://issues.apache.org/jira/browse/DRILL-3679
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 1.2.0
 Environment: private-branch 
 https://github.com/adeneche/incubator-drill/tree/new-window-funcs
Reporter: Khurram Faraaz
Assignee: Deneche A. Hakim
  Labels: window_function
 Fix For: 1.2.0


 IOB Exception seen when two different window functions are used in inner and 
 outer queries.
 {code}
 0: jdbc:drill:schema=dfs.tmp select rnum, position_id, ntile(4) over(order 
 by position_id) from (select position_id, row_number() over(order by 
 position_id) as rnum from cp.`employee.json`);
 java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: 
 IndexOutOfBoundsException: index: 0, length: 4 (expected: range(0, 0))
 Fragment 0:0
 [Error Id: 8e0cbf82-842d-4fa7-ab0d-1d982a3d6c24 on centos-03.qa.lab:31010]
   at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
   at 
 sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87)
   at sqlline.TableOutputFormat.print(TableOutputFormat.java:118)
   at sqlline.SqlLine.print(SqlLine.java:1583)
   at sqlline.Commands.execute(Commands.java:852)
   at sqlline.Commands.sql(Commands.java:751)
   at sqlline.SqlLine.dispatch(SqlLine.java:738)
   at sqlline.SqlLine.begin(SqlLine.java:612)
   at sqlline.SqlLine.start(SqlLine.java:366)
   at sqlline.SqlLine.main(SqlLine.java:259)
 {code}



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


[jira] [Updated] (DRILL-3679) IOB Exception : when window functions used in outer and inner query

2015-08-20 Thread Deneche A. Hakim (JIRA)

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

Deneche A. Hakim updated DRILL-3679:

Fix Version/s: 1.2.0

 IOB Exception : when window functions used in outer and inner query
 ---

 Key: DRILL-3679
 URL: https://issues.apache.org/jira/browse/DRILL-3679
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 1.2.0
 Environment: private-branch 
 https://github.com/adeneche/incubator-drill/tree/new-window-funcs
Reporter: Khurram Faraaz
Assignee: Deneche A. Hakim
  Labels: window_function
 Fix For: 1.2.0


 IOB Exception seen when two different window functions are used in inner and 
 outer queries.
 {code}
 0: jdbc:drill:schema=dfs.tmp select rnum, position_id, ntile(4) over(order 
 by position_id) from (select position_id, row_number() over(order by 
 position_id) as rnum from cp.`employee.json`);
 java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: 
 IndexOutOfBoundsException: index: 0, length: 4 (expected: range(0, 0))
 Fragment 0:0
 [Error Id: 8e0cbf82-842d-4fa7-ab0d-1d982a3d6c24 on centos-03.qa.lab:31010]
   at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
   at 
 sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87)
   at sqlline.TableOutputFormat.print(TableOutputFormat.java:118)
   at sqlline.SqlLine.print(SqlLine.java:1583)
   at sqlline.Commands.execute(Commands.java:852)
   at sqlline.Commands.sql(Commands.java:751)
   at sqlline.SqlLine.dispatch(SqlLine.java:738)
   at sqlline.SqlLine.begin(SqlLine.java:612)
   at sqlline.SqlLine.start(SqlLine.java:366)
   at sqlline.SqlLine.main(SqlLine.java:259)
 {code}



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