[ 
https://issues.apache.org/jira/browse/TAJO-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14182273#comment-14182273
 ] 

ASF GitHub Bot commented on TAJO-1119:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/208

    TAJO-1119: JDBC driver should support TIMESTAMP type.

    TAJO-1119: JDBC driver should support TIMESTAMP type.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blrunner/tajo TAJO-1119

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/208.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #208
    
----
commit 7831212dbc11953976450f0569045bd11b27ead2
Author: Jaehwa Jung <[email protected]>
Date:   2014-10-24T01:02:22Z

    TAJO-1119: JDBC driver should support TIMESTAMP type.

----


> JDBC driver should support TIMESTAMP type.
> ------------------------------------------
>
>                 Key: TAJO-1119
>                 URL: https://issues.apache.org/jira/browse/TAJO-1119
>             Project: Tajo
>          Issue Type: Bug
>          Components: client, JDBC
>    Affects Versions: 0.8.0, 0.9.0
>            Reporter: Hyunsik Choi
>            Assignee: Jaehwa Jung
>            Priority: Minor
>
> Currently, Tajo JDBC driver does not support TIMESTAMP type. When a user gets 
> a TIMESTAMP value, the error is caused as follows:
> {noformat}
> org.apache.tajo.exception.UnsupportedException: Unrecognized column 
> type:type: TIMESTAMP
>         at 
> org.apache.tajo.client.ResultSetUtil.toSqlType(ResultSetUtil.java:83)
>         at 
> org.apache.tajo.jdbc.TajoResultSetMetaData.getColumnTypeName(TajoResultSetMetaData.java:101)
>         at 
> com.gruter.taas.workbench.tajo.service.TajoService.getResultSetMetadata(TajoService.java:299)
>         at 
> com.gruter.taas.workbench.tajo.service.TajoService.getQueryResult(TajoService.java:384)
>         at 
> com.gruter.taas.workbench.tajo.service.TajoService.getQueryResult(TajoService.java:377)
>         at 
> com.gruter.taas.workbench.tajo.controller.TajoController.getQueryResult(TajoController.java:201)
>         at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:212)
>         at 
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
>         at 
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
>         at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> {noformat}



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

Reply via email to