hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (HIVE-20827) Inconsistent results for empty arrays
Date Tue, 09 Jun 2020 16:04:00 GMT


ASF GitHub Bot logged work on HIVE-20827:

                Author: ASF GitHub Bot
            Created on: 09/Jun/20 16:03
            Start Date: 09/Jun/20 16:03
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #480:

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

Issue Time Tracking

            Worklog Id:     (was: 442834)
    Remaining Estimate: 0h
            Time Spent: 10m

> Inconsistent results for empty arrays
> -------------------------------------
>                 Key: HIVE-20827
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Teddy Choi
>            Assignee: Teddy Choi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>         Attachments: HIVE-20827.1.patch
>          Time Spent: 10m
>  Remaining Estimate: 0h
> LazySimpleDeserializeRead parses an empty array wrong. For example, a line ',' in a text
file table with a delimiter ',' and schema 'array<int>, array<array<string>>' shows
\[null\], \[\[""\]\], instead of \[\], \[\] with MapReduce engine and vectorized execution
enabled. LazySimpleDeserializeRead has following code; 
> {code:java}
> switch (complexField.complexCategory) {
> case LIST:
>   {
>     // Allow for empty string, etc.
>     final boolean isNext = (fieldPosition <= complexFieldEnd);
> {code}
> Empty string value read should be only applied to string families, not to other data

This message was sent by Atlassian Jira

View raw message