Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently Tajo JDBC doesn't support SET command for setting session variable.
      JDBC user can set session variable using Statement.executeQuery() method as the following code.

        Statement stmt = conn.createStatement();
        stmt.executeQuery("set HASH_GROUPBY_SIZE_LIMIT 128");
      

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user babokim opened a pull request:

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

        TAJO-1028: JDBC should support SET command.

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

        $ git pull https://github.com/babokim/tajo TAJO-1028

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

        https://github.com/apache/tajo/pull/135.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 #135


        commit 4b96f1c45c4911ace23eec878e785195b341dbab
        Author: HyoungJun Kim <babokim@babokim-mbp.server.gruter.com>
        Date: 2014-09-05T11:35:07Z

        TAJO-1028: JDBC should support SET command.


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user babokim opened a pull request: https://github.com/apache/tajo/pull/135 TAJO-1028 : JDBC should support SET command. You can merge this pull request into a Git repository by running: $ git pull https://github.com/babokim/tajo TAJO-1028 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/135.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 #135 commit 4b96f1c45c4911ace23eec878e785195b341dbab Author: HyoungJun Kim <babokim@babokim-mbp.server.gruter.com> Date: 2014-09-05T11:35:07Z TAJO-1028 : JDBC should support SET command.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/135#issuecomment-55072401

        +1
        The patch looks good to me. Ship it.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/135#issuecomment-55072401 +1 The patch looks good to me. Ship it.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

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

        Github user babokim commented on the pull request:

        https://github.com/apache/tajo/pull/135#issuecomment-55206918

        Hi @hyunsik.
        Thank you for your review.
        I've just committed it to the master branch.

        Show
        githubbot ASF GitHub Bot added a comment - Github user babokim commented on the pull request: https://github.com/apache/tajo/pull/135#issuecomment-55206918 Hi @hyunsik. Thank you for your review. I've just committed it to the master branch.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-master-build #352 (See https://builds.apache.org/job/Tajo-master-build/352/)
        TAJO-1028: JDBC should support SET command. (babokim: rev 0f76a8ba0ef280875605b0e73a7c532b2f286ea0)

        • tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java
        • tajo-core/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java
        • tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoConnection.java
        • tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoPreparedStatement.java
        • tajo-client/src/main/java/org/apache/tajo/jdbc/TajoResultSet.java
        • CHANGES
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #352 (See https://builds.apache.org/job/Tajo-master-build/352/ ) TAJO-1028 : JDBC should support SET command. (babokim: rev 0f76a8ba0ef280875605b0e73a7c532b2f286ea0) tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java tajo-core/src/test/java/org/apache/tajo/jdbc/TestTajoJdbc.java tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoConnection.java tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoPreparedStatement.java tajo-client/src/main/java/org/apache/tajo/jdbc/TajoResultSet.java CHANGES
        Hide
        hyunsik Hyunsik Choi added a comment -

        Fixing it as resolved.

        Show
        hyunsik Hyunsik Choi added a comment - Fixing it as resolved.

          People

          • Assignee:
            hjkim Hyoungjun Kim
            Reporter:
            hjkim Hyoungjun Kim
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development