What does "version": "v1" mean for group by query?

hi,

I couldn’t find the meaning of the version field when druid reply to a group by query?

{ “version”: “v1”,
“timestamp”: “2018-09-01T00:00:00.000Z”,
“event”: {
“key1”: “1”,
“key2”: “1”,
“metric1”: 10
}

}

``

Does it have anything to do with the group by strategy?

thanks.

Hey Jan,

It’s the version of the object that represents how druid represents rows internally, so it’ll have v1 regardless of the groupBy strategy used.

Other queries use a different object to represent their results which isn’t versioned, I guess it’s a legacy thing but perhaps someone who’s been around longer can give a better explanation

Cheers,

Dylan