groupBy needs to be joined by a comma
parent
1ffa00dc16
commit
d99abaa04a
|
@ -45,7 +45,7 @@ export const LayoutRenderer = React.createClass({
|
|||
const qs = cell.queries.map((q) => {
|
||||
_.merge(q, {host: source});
|
||||
if (q.groupBys && q.groupBys.length > 0) {
|
||||
q.text += ` group by ${q.groupBys.join(' ')}`;
|
||||
q.text += ` group by ${q.groupBys.join(',')}`;
|
||||
}
|
||||
q.text += ` where host = '${host}' and time > ${timeRange}`;
|
||||
return q;
|
||||
|
|
Loading…
Reference in New Issue