Paul Rogers created DRILL-7689: ---------------------------------- Summary: Do not save profiles for trivial queries Key: DRILL-7689 URL: https://issues.apache.org/jira/browse/DRILL-7689 Project: Apache Drill Issue Type: Improvement Affects Versions: 1.17.0 Reporter: Paul Rogers
Drill saves a query profile for every query. Some queries are trivial; there is no useful information (for the user) in such queries. Examples include {{ALTER SESSION/SYSTEM}}, {{CREATE SCHEMA}}, and other internal commands. Logic already exists to omit profiles for {{ALTER}} commands, but only if a session option is set. No ability exists to omit profiles for the other statements. This ticket asks to: * Omit profiles for trivial commands by default. (Part of the task is to define the set of trivial commands.) * Provide an option to enable such profiles, primarily for use by developers when debugging the trivial commands. * If no profile is available, show a message to that effect in the Web UI where we currently display the profile number. Provide a link to the documentation page that explains why there is no profile (and how to use the above option to request a profile if needed.) -- This message was sent by Atlassian Jira (v8.3.4#803005)