[teiid-issues] [JBoss JIRA] (TEIID-4165) HBase translator - time values are not translated correctly
Juraj Duráni (JIRA)
issues at jboss.org
Tue Apr 26 01:12:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196871#comment-13196871 ]
Juraj Duráni commented on TEIID-4165:
-------------------------------------
I have tried it yesterday and it works. Phoenix driver seems to have problem with time/timestamp in general, for example \[1\]. Moreover, we use for testing older version of phoenix than mentioned in \[1\] so maybe there will be more bugs which are not fixed.
\[1\] https://issues.jboss.org/browse/TEIID-3616?focusedCommentId=13097241&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13097241
> HBase translator - time values are not translated correctly
> -----------------------------------------------------------
>
> Key: TEIID-4165
> URL: https://issues.jboss.org/browse/TEIID-4165
> Project: Teiid
> Issue Type: Bug
> Affects Versions: 8.12.x
> Reporter: Juraj Duráni
> Assignee: Steven Hawkins
>
> HBase translator rewrites time values (e.g. \{t '15:00:00'\}) as _TIME '1970-01-01 15:00:00.0'_. But HBase stores time values with base date _1900-01-01..._.
> Updated source-specific commands returns correct result.
> {code:sql}
> SELECT g_0.intkey FROM smalla AS g_0 WHERE g_0.timevalue IN (TIME '1900-01-01 05:00:00.0', TIME '1900-01-01 15:00:00.0')
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list