hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junjie Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17593) DataWritableWriter strip spaces for CHAR type before writing, but predicate generator doesn't do same thing.
Date Mon, 25 Sep 2017 03:10:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Junjie Chen updated HIVE-17593:
-------------------------------
    Description: 
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.

  was:
DataWritableWriter strip spaces for CHAR type before writing. While when generating predicate,
it does't do same striping which should cause data missing!

ConvertAstTosearchArg.java#getTypes treat CHAR and STRING as same.


> 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: 3.0.0
>            Reporter: Junjie Chen
>
> 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
(v6.4.14#64029)

Mime
View raw message