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

2016-05-08 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> 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
>Affects Versions: 2.0.0
>Reporter: Pengcheng Xiong
>Assignee: Pengcheng Xiong
> Fix For: 2.1.0
>
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-08 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Fix Version/s: 2.1.0

> 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
>Affects Versions: 2.0.0
>Reporter: Pengcheng Xiong
>Assignee: Pengcheng Xiong
> Fix For: 2.1.0
>
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-08 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Affects Version/s: 2.0.0

> 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
>Affects Versions: 2.0.0
>Reporter: Pengcheng Xiong
>Assignee: Pengcheng Xiong
> Fix For: 2.1.0
>
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Status: Patch Available  (was: Open)

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Status: Open  (was: Patch Available)

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Status: Patch Available  (was: Open)

address [~ashutoshc]'s comments.

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Attachment: HIVE-13618.01.patch

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Attachment: (was: HIVE-13618.01.patch)

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-06 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Status: Open  (was: Patch Available)

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-05 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Attachment: HIVE-13618.01.patch

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-05-05 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Status: Patch Available  (was: Open)

> 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
> Attachments: HIVE-13618.01.patch
>
>
> 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)


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

2016-04-26 Thread Pengcheng Xiong (JIRA)

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

Pengcheng Xiong updated HIVE-13618:
---
Summary: Trailing spaces in partition column will be treated differently  
(was: trailing spaces in partition column will be treated differently)

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