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

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

GitHub user jinossy opened a pull request:

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

    TAJO-1776: Fix Invalid column type in JDBC

    

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

    $ git pull https://github.com/jinossy/tajo TAJO-1776

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

    https://github.com/apache/tajo/pull/695.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 #695
    
----
commit 46b7ef23ce412fafae4466db52267010de80cb3e
Author: Jinho Kim <[email protected]>
Date:   2015-08-17T03:53:11Z

    TAJO-1776: Fix Invalid column type in JDBC

----


> Fix Invalid column type in JDBC
> -------------------------------
>
>                 Key: TAJO-1776
>                 URL: https://issues.apache.org/jira/browse/TAJO-1776
>             Project: Tajo
>          Issue Type: Bug
>          Components: JDBC Driver
>    Affects Versions: 0.10.1
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>             Fix For: 0.11.0
>
>
> We should fix the wrong implementation
> {noformat}
> Caused by: com.spotfire.ws.im.IMException: Failed to execute query: 
> columnScale: Invalid column type: 91
>      at 
> com.spotfire.ws.im.ds.sql.SQLDataSource.doStart(SQLDataSource.java:266)
>      at com.spotfire.ws.dat.AbstractOperator.start(AbstractOperator.java:128)
>      at com.spotfire.ws.dat.Pipe.doStart(Pipe.java:112)
>      at com.spotfire.ws.dat.Pipe.doStart(Pipe.java:103)
>      at com.spotfire.ws.dat.AbstractOperator.start(AbstractOperator.java:128)
>      at com.spotfire.ws.im.QueryPipe.start(QueryPipe.java:191)
>      at com.spotfire.ws.dat.Formatter.open(Formatter.java:370)
>      at com.spotfire.ws.dat.Job$OpenTask.execute(Job.java:722)
>      at com.spotfire.ws.dat.Job$Task.run(Job.java:661)
>      at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>      ... 1 more
> Caused by: java.sql.SQLException: columnScale: Invalid column type: 91
>      at 
> org.apache.tajo.client.ResultSetUtil.columnScale(ResultSetUtil.java:202)
>      at 
> org.apache.tajo.jdbc.TajoResultSetMetaData.getScale(TajoResultSetMetaData.java:111)
>      at 
> com.spotfire.ws.im.ds.sql.SQLQuerySession.createMetadataFromResultSet(SQLQuerySession.java:597)
>      at 
> com.spotfire.ws.im.ds.sql.SQLQuerySession.open(SQLQuerySession.java:116)
>      at 
> com.spotfire.ws.im.ds.sql.SQLDataSource.executeQuery(SQLDataSource.java:384)
>      at 
> com.spotfire.ws.im.ds.sql.SQLDataSource.doStart(SQLDataSource.java:264)
>      ... 11 more
> {noformat}



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

Reply via email to