hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mani M (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2813) Throw a Hive error if we're in strict mode and a the types of a partition comparison do not match.
Date Wed, 09 Jan 2019 10:30:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738076#comment-16738076
] 

Mani M commented on HIVE-2813:
------------------------------

HI [~ashutoshc]

Still this fix is required.

> Throw a Hive error if we're in strict mode and a the types of a partition comparison
do not match.
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2813
>                 URL: https://issues.apache.org/jira/browse/HIVE-2813
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.8.1, 0.9.0
>            Reporter: Dmitry Soshnikov
>            Priority: Minor
>              Labels: newbie, patch
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2813.D1803.2.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2813.D1803.3.patch,
ASF.LICENSE.NOT.GRANTED--HIVE-2813.D1803.4.patch, ASF.LICENSE.NOT.GRANTED--HIVE-2813.D1803.5.patch,
ASF.LICENSE.NOT.GRANTED--HIVE-2813.D1803.6.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Oftentimes people try to write queries like
> SELECT *
> FROM table
> WHERE ds = 2011-08-03
> This won't work because quotes are missing, and it'll actually try to filter on ds =
"2000".
> People run into this pretty regularly; a simple check on whether the types match exactly
in partition predicates would make this a lot less likely to happen.



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

Mime
View raw message