Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.8.0, 0.9.0
-
None
Description
Currently, Tajo JDBC driver does not support TIMESTAMP type. When a user gets a TIMESTAMP value, the error is caused as follows:
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)