You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/04/27 00:44:13 UTC

[jira] [Created] (HIVE-13618) trailing spaces in partition column will be treated differently

Pengcheng Xiong created HIVE-13618:
--------------------------------------

             Summary: trailing spaces in partition column will be treated differently
                 Key: HIVE-13618
                 URL: https://issues.apache.org/jira/browse/HIVE-13618
             Project: Hive
          Issue Type: Bug
            Reporter: Pengcheng Xiong
            Assignee: Pengcheng Xiong


We store the partition spec value in the metastore. In mysql (and derby i think), the trailing space is ignored. That is, if you have a partition column "col" (type varchar or string) with value "a " and then select from the table where col = "a", it will return. However, in postgres and Oracle, the trailing space is not ignored. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)