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

Sergey Shelukhin updated HIVE-5679:
-----------------------------------

    Attachment: HIVE-5679.patch

Ok, this adds support, but only for actual date literals, comparing date column 
with valid date string value won't work so far.
I wasted a lot of time trying to make it work in Filter.g, and I cannot 
seemingly make the lexer go back to StringLiteral when it fails to validate 
invalid date string as date literal. Maybe someone with better Antlr skills can 
make this work (I also asked on SO). We can add a hack where, upon seeing date 
col and string value in metastore code, we will try to extract date once.

> add date support to metastore JDO/SQL
> -------------------------------------
>
>                 Key: HIVE-5679
>                 URL: https://issues.apache.org/jira/browse/HIVE-5679
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-5679.patch
>
>
> Metastore supports strings and integral types in filters.
> It could also support dates.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to