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

Fix Invalid column type in JDBC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.11.0, 0.10.1
    • 0.11.0, 0.12.0
    • JDBC Driver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: