ConstReadonlyCANCELED: "CANCELED"query has been cancelled by the user
ReadonlyCOMPILED: "COMPILED"query has been compiled DEPRECATED: to be removed once runtime side change is picked up.
ReadonlyCOMPILING: "COMPILING"query compilation has been started This isn't currently used. We will soon use this.
ReadonlyFAILED: "FAILED"query has failed
ReadonlyFINISHED: "FINISHED"query execution has been completed
ReadonlyQUEUED: "QUEUED"query has been received and queued
ReadonlyRUNNING: "RUNNING"currently execution has been started (spark jobs for this query has been started running) detail ui is available from this state
ReadonlySTARTED: "STARTED"query has been received and started by the driver DEPRECATED: to be removed once runtime side change is picked up.
Statuses which are also used by OperationStatus in runtime. When adding a new QueryStatus, make sure to update com.databricks.sqlgateway.history.QueryStatusOrdering