You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jaehwa Jung (JIRA)" <ji...@apache.org> on 2014/11/27 15:22:13 UTC
[jira] [Resolved] (TAJO-1119) JDBC driver should support TIMESTAMP
type.
[ https://issues.apache.org/jira/browse/TAJO-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaehwa Jung resolved TAJO-1119.
-------------------------------
Resolution: Fixed
> 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
> Fix For: 0.9.1
>
>
> 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)