Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2961

Statement.setQueryTimeout() should throw a SQLException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Client - JDBC
    • None
    • RHEL 6.4

    Description

      When trying to set the timeout for a Drill Statement object, Drill does not report any SQLException which makes the developer incorrectly believe that a timeout has been set.

      The operation should throw the exception:

      java.sql.SQLException: Method not supported
      at org.apache.drill.jdbc.DrillStatement.setQueryTimeout(DrillStatement.java)
      ....

      Attachments

        1. DRILL-2961.1Prep.2.patch.txt
          16 kB
          Daniel Barclay
        2. DRILL-2961.1Prep.3.patch.txt
          17 kB
          Daniel Barclay
        3. DRILL-2961.1Prep.4.patch.txt
          16 kB
          Daniel Barclay
        4. DRILL-2961.2Core.2.patch.txt
          24 kB
          Daniel Barclay
        5. DRILL-2961.2Core.3.patch.txt
          24 kB
          Daniel Barclay
        6. DRILL-2961.2Core.4.patch.txt
          24 kB
          Daniel Barclay

        Issue Links

          Activity

            People

              dsbos Daniel Barclay
              kkhatua Kunal Khatua
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: