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-23829) Compute Stats Incorrect for Binary Columns
Date Tue, 25 Aug 2020 14:03:00 GMT


ASF GitHub Bot logged work on HIVE-23829:

                Author: ASF GitHub Bot
            Created on: 25/Aug/20 14:02
            Start Date: 25/Aug/20 14:02
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on pull request #1313:

   @HunterL Really great stuff.  Need one test with ``
set to `true`.

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: 474329)
    Time Spent: 1h 10m  (was: 1h)

> Compute Stats Incorrect for Binary Columns
> ------------------------------------------
>                 Key: HIVE-23829
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
> I came across an issue when working on [HIVE-22674].
> The SerDe used for processing binary data tries to auto-detect if the data is in Base-64.
 It uses {{org.apache.commons.codec.binary.Base64#isArrayByteBase64}} which has two issues:
> # It's slow since it will check if the array is compatible,... and then process the data
(examines the array twice)
> # More importantly, this method _Tests a given byte array to see if it contains only
valid characters within the Base64 alphabet. Currently the method treats whitespace as valid._
> The [qtest|]
for this feature uses full sentences (which includes spaces) [here|]
and therefore it thinks this data is Base-64 and returns an incorrect estimation for size.
> This should really not auto-detect Base64 data and instead it should be enabled with
a table property.

This message was sent by Atlassian Jira

View raw message