Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1776

Fix Invalid column type in JDBC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0, 0.11.0, 0.10.1
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: JDBC Driver
    • Labels:
      None

      Description

      We should fix the wrong implementation

      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
      
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: