[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2016-09-18 Thread JIRA

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

F Méthot updated DRILL-3168:

Assignee: (was: F Méthot)

> Char overflow in LimitRecordBatch 
> --
>
> Key: DRILL-3168
> URL: https://issues.apache.org/jira/browse/DRILL-3168
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Affects Versions: 0.9.0
>Reporter: 徐波
> Fix For: Future
>
>
> The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset > 
> Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
> Code in limitWithNoSV:
> int svIndex = 0;
> for(char i = (char) offset; i < fetch; i++) {
>   outgoingSv.setIndex(svIndex, i);
>   svIndex++;
> }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2016-09-14 Thread Parth Chandra (JIRA)

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

Parth Chandra updated DRILL-3168:
-
Assignee: F Méthot

> Char overflow in LimitRecordBatch 
> --
>
> Key: DRILL-3168
> URL: https://issues.apache.org/jira/browse/DRILL-3168
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Affects Versions: 0.9.0
>Reporter: 徐波
>Assignee: F Méthot
> Fix For: Future
>
>
> The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset > 
> Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
> Code in limitWithNoSV:
> int svIndex = 0;
> for(char i = (char) offset; i < fetch; i++) {
>   outgoingSv.setIndex(svIndex, i);
>   svIndex++;
> }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2015-07-06 Thread Chris Westin (JIRA)

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

Chris Westin updated DRILL-3168:

Fix Version/s: (was: 1.2.0)
   1.4.0

 Char overflow in LimitRecordBatch 
 --

 Key: DRILL-3168
 URL: https://issues.apache.org/jira/browse/DRILL-3168
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: 徐波
Assignee: Sudheesh Katkam
 Fix For: 1.4.0


 The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset  
 Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
 Code in limitWithNoSV:
 int svIndex = 0;
 for(char i = (char) offset; i  fetch; i++) {
   outgoingSv.setIndex(svIndex, i);
   svIndex++;
 }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2015-07-01 Thread Chris Westin (JIRA)

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

Chris Westin updated DRILL-3168:

Component/s: Execution - Relational Operators

 Char overflow in LimitRecordBatch 
 --

 Key: DRILL-3168
 URL: https://issues.apache.org/jira/browse/DRILL-3168
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: 徐波
 Fix For: 1.2.0


 The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset  
 Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
 Code in limitWithNoSV:
 int svIndex = 0;
 for(char i = (char) offset; i  fetch; i++) {
   outgoingSv.setIndex(svIndex, i);
   svIndex++;
 }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2015-07-01 Thread Chris Westin (JIRA)

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

Chris Westin updated DRILL-3168:

Assignee: Chris Westin

 Char overflow in LimitRecordBatch 
 --

 Key: DRILL-3168
 URL: https://issues.apache.org/jira/browse/DRILL-3168
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: 徐波
Assignee: Chris Westin
 Fix For: 1.2.0


 The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset  
 Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
 Code in limitWithNoSV:
 int svIndex = 0;
 for(char i = (char) offset; i  fetch; i++) {
   outgoingSv.setIndex(svIndex, i);
   svIndex++;
 }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2015-07-01 Thread Chris Westin (JIRA)

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

Chris Westin updated DRILL-3168:

Fix Version/s: 1.2.0

 Char overflow in LimitRecordBatch 
 --

 Key: DRILL-3168
 URL: https://issues.apache.org/jira/browse/DRILL-3168
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: 徐波
Assignee: Chris Westin
 Fix For: 1.2.0


 The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset  
 Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
 Code in limitWithNoSV:
 int svIndex = 0;
 for(char i = (char) offset; i  fetch; i++) {
   outgoingSv.setIndex(svIndex, i);
   svIndex++;
 }



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


[jira] [Updated] (DRILL-3168) Char overflow in LimitRecordBatch

2015-07-01 Thread Chris Westin (JIRA)

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

Chris Westin updated DRILL-3168:

Assignee: Sudheesh Katkam  (was: Chris Westin)

 Char overflow in LimitRecordBatch 
 --

 Key: DRILL-3168
 URL: https://issues.apache.org/jira/browse/DRILL-3168
 Project: Apache Drill
  Issue Type: Bug
  Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: 徐波
Assignee: Sudheesh Katkam
 Fix For: 1.2.0


 The variable named 'i' in 'limitWithNoSV' may overflow when fetch - offset  
 Character.MAX_VALUE - offset. eg. offset=0, fetch=65536. 
 Code in limitWithNoSV:
 int svIndex = 0;
 for(char i = (char) offset; i  fetch; i++) {
   outgoingSv.setIndex(svIndex, i);
   svIndex++;
 }



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