You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/07/30 06:58:29 UTC

[GitHub] [incubator-doris] JinLiOnline opened a new issue #6346: [BUG][ARRAY] Index 24 out of bounds for length 17

JinLiOnline opened a new issue #6346:
URL: https://github.com/apache/incubator-doris/issues/6346


   **Describe the bug**
   select array(1,2,3);
   java.lang.IndexOutOfBoundsException: Index 24 out of bounds for length 17
   
   **To Reproduce**
   select array(1,2,3);
   
   **Reason**
   array.slotSize is 24
   DECIMALV2.slotSize is 16
   
   when step into computeMemLayout(),
   1) PrimitiveType.getMaxSlotSize()  is 16, So the length of **slotsBySize** is 16+1=17
   2) slotsBySize.get(d.getType().getSlotSize()).add(d);   // slotsBySize.get(24) ==>  out of bounds
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #6346: [BUG][ARRAY] Index 24 out of bounds for length 17

Posted by GitBox <gi...@apache.org>.
morningman closed issue #6346:
URL: https://github.com/apache/incubator-doris/issues/6346


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman closed issue #6346: [BUG][ARRAY] Index 24 out of bounds for length 17

Posted by GitBox <gi...@apache.org>.
morningman closed issue #6346:
URL: https://github.com/apache/incubator-doris/issues/6346


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org