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
      
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        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 <jhkim@apache.org>
        Date: 2015-08-17T03:53:11Z

        TAJO-1776: Fix Invalid column type in JDBC


        Show
        githubbot ASF GitHub Bot added a comment - 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 <jhkim@apache.org> Date: 2015-08-17T03:53:11Z TAJO-1776 : Fix Invalid column type in JDBC
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/695#issuecomment-132212907

        +1 LGTM

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/695#issuecomment-132212907 +1 LGTM
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/695
        Hide
        jhkim Jinho Kim added a comment -

        committed it
        Thanks

        Show
        jhkim Jinho Kim added a comment - committed it Thanks
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #447 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/447/)
        TAJO-1776: Fix Invalid column type in JDBC. (jhkim: rev 044455528baa8930d5f00cc05248d6c250016e79)

        • tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        • CHANGES
        • tajo-jdbc/src/test/java/org/apache/tajo/jdbc/util/TestResultSetUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #447 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/447/ ) TAJO-1776 : Fix Invalid column type in JDBC. (jhkim: rev 044455528baa8930d5f00cc05248d6c250016e79) tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java CHANGES tajo-jdbc/src/test/java/org/apache/tajo/jdbc/util/TestResultSetUtil.java tajo-core-tests/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #808 (See https://builds.apache.org/job/Tajo-master-build/808/)
        TAJO-1776: Fix Invalid column type in JDBC. (jhkim: rev 044455528baa8930d5f00cc05248d6c250016e79)

        • tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java
        • CHANGES
        • tajo-jdbc/src/test/java/org/apache/tajo/jdbc/util/TestResultSetUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #808 (See https://builds.apache.org/job/Tajo-master-build/808/ ) TAJO-1776 : Fix Invalid column type in JDBC. (jhkim: rev 044455528baa8930d5f00cc05248d6c250016e79) tajo-client/src/main/java/org/apache/tajo/client/ResultSetUtil.java CHANGES tajo-jdbc/src/test/java/org/apache/tajo/jdbc/util/TestResultSetUtil.java tajo-core-tests/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java

          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:

              Development