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 2019/06/25 14:11:00 UTC

[jira] [Work logged] (HIVE-17593) DataWritableWriter strip spaces for CHAR type before writing, but predicate generator doesn't do same thing.

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

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

                Author: ASF GitHub Bot
            Created on: 25/Jun/19 14:10
            Start Date: 25/Jun/19 14:10
    Worklog Time Spent: 10m 
      Work Description: chenjunjiedada commented on pull request #383: HIVE-17593: DataWritableWriter strip spaces for CHAR type which causeā€¦
URL: https://github.com/apache/hive/pull/383
 
 
   
 
----------------------------------------------------------------
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: 266688)
            Time Spent: 10m
    Remaining Estimate: 0h

> DataWritableWriter strip spaces for CHAR type before writing, but predicate generator doesn't do same thing.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17593
>                 URL: https://issues.apache.org/jira/browse/HIVE-17593
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.3.0, 3.0.0
>            Reporter: Junjie Chen
>            Assignee: Junjie Chen
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-17593.2.patch, HIVE-17593.3.patch, HIVE-17593.4.patch, HIVE-17593.5.patch, HIVE-17593.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> DataWritableWriter strip spaces for CHAR type before writing. While when generating predicate, it does NOT do same striping which should cause data missing!
> In current version, it doesn't cause data missing since predicate is not well push down to parquet due to HIVE-17261.
> Please see ConvertAstTosearchArg.java, getTypes treats CHAR and STRING as same which will build a predicate with tail spaces.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)