You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal Vijayaraghavan (Jira)" <ji...@apache.org> on 2020/02/28 06:16:00 UTC

[jira] [Updated] (HIVE-22943) Metastore JDO pushdown for DATE constants

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

Gopal Vijayaraghavan updated HIVE-22943:
----------------------------------------
    Summary: Metastore JDO pushdown for DATE constants  (was: Metastore pushdown for DATE constants)

> Metastore JDO pushdown for DATE constants
> -----------------------------------------
>
>                 Key: HIVE-22943
>                 URL: https://issues.apache.org/jira/browse/HIVE-22943
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>    Affects Versions: 4.0.0
>            Reporter: Gopal Vijayaraghavan
>            Priority: Major
>
> https://github.com/apache/hive/blame/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/Filter.g#L461
> {code}
> /* When I figure out how to make lexer backtrack after validating predicate, dates would be able 
> to support single quotes [( '\'' DateString '\'' ) |]. For now, what we do instead is have a hack
> to parse the string in metastore code from StringLiteral. */
> DateLiteral
>     :
>     KW_DATE? DateString { ExtractDate(getText()) != null }?
>     ;
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)