Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3024

QueryTimeout not working for synchronous local queries against Teiid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.8, 8.7.1
    • 8.1, 8.7
    • JDBC Driver
    • None
    • Hide

      Attaching source for a test case that runs a query both sync and async to demonstrate the issue. ExploreTeiidTimeout class has those two test cases.

      Show
      Attaching source for a test case that runs a query both sync and async to demonstrate the issue. ExploreTeiidTimeout class has those two test cases.

    Description

      If i run a query with synchronous query with a timeout set using PreparedStatementImpl.setQueryTimeout() method, that timeout is not honored. But if i run the same query with all the same setup and execute the query asynchronously then a timeout happens and warning message like below is printed:

      Jul 02, 2014 10:19:21 AM org.teiid.jdbc.StatementImpl timeoutOccurred
      WARNING: Timeout occurred in Statement.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            gsinghal_jira gaurav singhal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: