mirror of https://github.com/apache/druid.git
Generate UUID if query id is empty (#4772)
This commit is contained in:
parent
706747cc8c
commit
975a50fc81
|
@ -167,7 +167,7 @@ public class QueryLifecycle
|
|||
transition(State.NEW, State.INITIALIZED);
|
||||
|
||||
String queryId = baseQuery.getId();
|
||||
if (queryId == null) {
|
||||
if (Strings.isNullOrEmpty(queryId)) {
|
||||
queryId = UUID.randomUUID().toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue