Github user tzolkincz commented on the pull request: https://github.com/apache/incubator-phoenix/pull/26#issuecomment-42206344 For now I would keep implementation with Date, as long as Phoenix Date is suitable for this use case. When we switch Date in Phoenix to JDBC date, we would migrate this (and other functionality) to new/most suitable data type (i mean like datetime in other databases). I don't actually see any advantage with casting in query, it'll only do query more complicated than is required. I think we should rather consider to create DATETIME data type.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---