Overview
When viewing job profiles from the Jobs listing in the Dremio UI, there is a field called "Query Type" which shows how the job was executed, for example, from a Preview in the UI, or via JDBC, etc.
Applies To
Dremio Enterprise Edition
Details
If you download the profile and unzip it, there are two or more files inside.
One is header.json, and the others are the profile_attempt_X.json files.
Inside the header.json there is a field, job.info.queryType which holds an integer value.
These values correspond to the following query types:
1 UI_RUN
2 UI_PREVIEW
3 UI_INTERNAL_PREVIEW
4 UI_INTERNAL_RUN
5 UI_EXPORT
6 ODBC
7 JDBC
8 REST
9 ACCELERATOR_CREATE
10 ACCELERATOR_DROP
11 UNKNOWN
12 PREPARE_INTERNAL
13 ACCELERATOR_EXPLAIN
14 UI_INITIAL_PREVIEW
15 FLIGHT
16 METADATA_REFRESH
17 INTERNAL_ICEBERG_METADATA_DROP
18 D2D
19 ACCELERATOR_OPTIMIZE
20 COPY_ERRORS_PLAN