[ https://issues.apache.org/jira/browse/PHOENIX-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187572#comment-15187572 ]
Sergey Soldatov commented on PHOENIX-2734: ------------------------------------------ Hm. At that place the actualType is PVarchar and the type we check is PDate. As far as I understand if we simplify this check in that way it will fail. Should we add the check for all time/date types into PVarchar.isCoercibleTo in this case? And whether it can have some side effects in other scenarios? > Literal expressions for UNSIGNED_DATE/UNSIGNED_TIME/etc > ------------------------------------------------------- > > Key: PHOENIX-2734 > URL: https://issues.apache.org/jira/browse/PHOENIX-2734 > Project: Phoenix > Issue Type: Bug > Reporter: Sergey Soldatov > Assignee: Sergey Soldatov > Attachments: PHOENIX-2734.patch > > > At the moment LiteralExpression accepts convertion from varchar to PDate, > PTimestamp and PTime, but not for the PUnsigned... type. Is there any reason > for that or we can just add an additional check for Unsigned types as well? > The problem is that there is no way to load values to Unsigned date/time > types using bulk load ( for regular upsert there is an workaround to use > TO_TIME/etc functions). [~pctony] what do you think? -- This message was sent by Atlassian JIRA (v6.3.4#6332)