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

Provide option to save query profiles sync, async or not at all

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.10.0
    • 1.10.0
    • None

    Description

      DRILL-5123 improved perceived query performance by writing the query profile after sending a final response to the client. This is the desired behaviors in most situations. However, some tests want to verify certain results by reading the query profile from disk. Doing so works best when the query profile is written before returning the final query results.

      This ticket requests that the timing if the query profile writing be configurable.

      • Sync: write profile before final client response.
      • Async: write profile after final client response. (Default)
      • None: don't write query profile at all

      A config option (boot time? run time?) should control the option. A boot-time option is fine for testing.

      Attachments

        Issue Links

          Activity

            People

              paul-rogers Paul Rogers
              paul-rogers Paul Rogers
              Kunal Khatua Kunal Khatua
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: