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 2015/08/17 05:51:45 UTC

[jira] [Created] (TAJO-1776) Fix Invalid column type in JDBC

Jinho Kim created TAJO-1776:
-------------------------------

             Summary: 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)