You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/06/06 00:24:01 UTC

[jira] [Work logged] (HIVE-23022) Arrow deserializer should ensure size of hive vector equal to arrow vector

     [ https://issues.apache.org/jira/browse/HIVE-23022?focusedWorklogId=442097&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-442097 ]

ASF GitHub Bot logged work on HIVE-23022:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jun/20 00:23
            Start Date: 06/Jun/20 00:23
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #954:
URL: https://github.com/apache/hive/pull/954#issuecomment-639913839


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
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.

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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 442097)
    Time Spent: 20m  (was: 10m)

> Arrow deserializer should ensure size of hive vector equal to arrow vector
> --------------------------------------------------------------------------
>
>                 Key: HIVE-23022
>                 URL: https://issues.apache.org/jira/browse/HIVE-23022
>             Project: Hive
>          Issue Type: Bug
>          Components: llap, Serializers/Deserializers
>            Reporter: Shubham Chaurasia
>            Assignee: Shubham Chaurasia
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-23022.01.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Arrow deserializer - {{org.apache.hadoop.hive.ql.io.arrow.Deserializer}} in some cases does not set the size of hive vector correctly. Size of hive vector should be set at least equal to arrow vector to be able to read (accommodate) it fully.
> Following exception can be seen when we try to read (using {{LlapArrowRowInputFormat}} ) some table which contains complex types (struct nested in array to be specific) and number of rows in table is more than default (1024) batch/vector size.
> {code:java}
>     Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024
>   at org.apache.hadoop.hive.ql.io.arrow.Deserializer.readStruct(Deserializer.java:440)
>   at org.apache.hadoop.hive.ql.io.arrow.Deserializer.read(Deserializer.java:143)
>   at org.apache.hadoop.hive.ql.io.arrow.Deserializer.readList(Deserializer.java:394)
>   at org.apache.hadoop.hive.ql.io.arrow.Deserializer.read(Deserializer.java:137)
>   at org.apache.hadoop.hive.ql.io.arrow.Deserializer.deserialize(Deserializer.java:122)
>   at org.apache.hadoop.hive.ql.io.arrow.ArrowColumnarBatchSerDe.deserialize(ArrowColumnarBatchSerDe.java:284)
>   at org.apache.hadoop.hive.llap.LlapArrowRowRecordReader.next(LlapArrowRowRecordReader.java:75)
>   ... 23 more
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)