Skip to content

Commit b1cffb1

Browse files
authored
Merge pull request #455 from whdalsrnt/master
feat: change unwind option in analyze query
2 parents ca1606c + 87d5c5f commit b1cffb1

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

proto/spaceone/api/core/v2/query.proto

+3-11
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,13 @@ message AggregateProject {
140140
bool exclude_keys = 2;
141141
}
142142

143-
message AggregateUnwind {
144-
string path = 1;
145-
}
146-
147143
message AggregateCount {
148144
string name = 1;
149145
}
150146

151147
message StatisticsAggregate {
152148
oneof aggregate_alias {
153-
AggregateUnwind unwind = 1;
149+
Unwind unwind = 1;
154150
AggregateGroup group = 2;
155151
AggregateCount count = 3;
156152
google.protobuf.ListValue sort = 4;
@@ -169,10 +165,6 @@ message StatisticsQuery {
169165
string keyword = 6;
170166
}
171167

172-
message AnalyzeUnwind {
173-
string path = 1;
174-
}
175-
176168
message TimeSeriesAnalyzeQuery {
177169
enum Granularity{
178170
GRANULARITY_NONE = 0;
@@ -193,7 +185,7 @@ message TimeSeriesAnalyzeQuery {
193185
google.protobuf.Struct fields = 10;
194186
google.protobuf.Struct select = 11;
195187
string keyword = 12;
196-
AnalyzeUnwind unwind = 13;
188+
Unwind unwind = 13;
197189
}
198190

199191
message AnalyzeQuery {
@@ -206,7 +198,7 @@ message AnalyzeQuery {
206198
google.protobuf.Struct fields = 7;
207199
google.protobuf.Struct select = 8;
208200
string keyword = 9;
209-
AnalyzeUnwind unwind = 10;
201+
Unwind unwind = 10;
210202
}
211203

212204
message ExportSearchQuery {

0 commit comments

Comments
 (0)