mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
Postgres UUID group issue (#37999)
* Add UUID to types that can be grouped by * Remove noop switch
This commit is contained in:
parent
861fe60d01
commit
21f45d4927
@ -132,7 +132,7 @@ table_schema IN (
|
||||
break;
|
||||
}
|
||||
case 'group': {
|
||||
query += " AND data_type IN ('text','character','character varying')";
|
||||
query += " AND data_type IN ('text','character','character varying','uuid')";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -661,12 +661,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
}
|
||||
|
||||
addGroupAction() {
|
||||
switch (this.groupAdd.value) {
|
||||
default: {
|
||||
this.addGroup(this.groupAdd.type, this.groupAdd.value);
|
||||
}
|
||||
}
|
||||
|
||||
this.addGroup(this.groupAdd.type, this.groupAdd.value);
|
||||
this.resetPlusButton(this.groupAdd);
|
||||
this.updateRawSqlAndRefresh();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user