[
https://issues.apache.org/jira/browse/IGNITE-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15179771#comment-15179771
]
Igor Sapego commented on IGNITE-2747:
-------------------------------------
Okay, it seems that JDBC uses local timezone by default while ODBC states that
all dates should be in GMT. So for the test that include SQL queries with
comparison like {{WHERE date =='YYYY-MM-DD'}} we should use local time while
for the ODBC tests we should use GMT time.
> ODBC: Time cast returns wrong results for Linux.
> ------------------------------------------------
>
> Key: IGNITE-2747
> URL: https://issues.apache.org/jira/browse/IGNITE-2747
> Project: Ignite
> Issue Type: Sub-task
> Components: odbc
> Affects Versions: 1.5.0.final
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Priority: Critical
> Fix For: 1.6
>
>
> Current time cast does not work for Linux because {{timezone}} variable does
> not return right time offset for Linux.
> Also, {{gmtime}} is not thread-safe so it seems that we should use some
> platform-specific functions for time-conversion operations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)