hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Updated] (HIVE-5679) add date support to metastore JDO/SQL
Date Wed, 11 Dec 2013 02:10:09 GMT


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

View raw message