[
https://issues.apache.org/jira/browse/HIVE-25190?focusedWorklogId=623308&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-623308
]
ASF GitHub Bot logged work on HIVE-25190:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Jul/21 21:14
Start Date: 15/Jul/21 21:14
Worklog Time Spent: 10m
Work Description: pavibhai commented on a change in pull request #2408:
URL: https://github.com/apache/hive/pull/2408#discussion_r670809437
##########
File path:
storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/BytesColumnVector.java
##########
@@ -49,13 +49,14 @@
*/
public int[] length;
- // A call to increaseBufferSpace() or ensureValPreallocated() will ensure
that buffer[] points to
- // a byte[] with sufficient space for the specified size.
- private byte[] buffer; // optional buffer to use when actually copying in
data
+ // Calls to ensureValPreallocated() ensure that buffer starting at nextFree
+ // points to a byte[] with sufficient space for the specified size.
Review comment:
The new names are meaningful
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 623308)
Time Spent: 1h 50m (was: 1h 40m)
> BytesColumnVector fails when the aggregate size is > 1gb
> --------------------------------------------------------
>
> Key: HIVE-25190
> URL: https://issues.apache.org/jira/browse/HIVE-25190
> Project: Hive
> Issue Type: Bug
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Currently, BytesColumnVector will allocate a buffer for small values (< 1mb),
> but fail with:
> {code:java}
> new RuntimeException("Overflow of newLength. smallBuffer.length="
> + smallBuffer.length + ", nextElemLength=" + nextElemLength);
> {code:java}
> if the aggregate size of the buffer crosses over 1gb.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)