You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2016/05/18 01:24:13 UTC

[jira] [Resolved] (TAJO-2150) Fix invalid implementation of date time in jdbc

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

Jinho Kim resolved TAJO-2150.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

committed it
Thanks for your review!

> Fix invalid implementation of date time in jdbc
> -----------------------------------------------
>
>                 Key: TAJO-2150
>                 URL: https://issues.apache.org/jira/browse/TAJO-2150
>             Project: Tajo
>          Issue Type: Bug
>          Components: JDBC Driver
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>             Fix For: 0.12.0
>
>
> The jdbc spec is as following:
> 'This method uses the given calendar to construct an appropriate millisecond
value for the time if the underlying database does not store
 timezone information.'
> We should correctly fix implementations
> {noformat}
> java.sql.Time getTime(int columnIndex, Calendar cal) throws SQLException;
> java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException;
> java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)