mirror of
https://github.com/apache/druid.git
synced 2025-02-06 18:18:17 +00:00
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…
x
Reference in New Issue
Block a user