Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22073

Sql. Add processing of the provided query timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      Public org.apache.ignite.sql.Statement contains queryTimeout parameter, which user can change using StatementBuilder.

          /**
           * Sets a query timeout.
           *
           * @param timeout Query timeout value.
           * @param timeUnit Timeunit.
           * @return {@code this} for chaining.
           */
          StatementBuilder queryTimeout(long timeout, TimeUnit timeUnit);
      

      I'm guessing that by using this option the user can expect the query to be aborted when it times out. We need to implement handling of this option.

      Attachments

        Issue Links

          Activity

            People

              mzhuravkov Maksim Zhuravkov
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m