Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ public void init() throws Exception {
}

@Test
public void bin_bins() throws IOException {
String ppl = sanitize(loadFromFile("big5/queries/bin_bins.ppl"));
timing(summary, "bin_bins", ppl);
}

@Test
public void bin_span_log() throws IOException {
String ppl = sanitize(loadFromFile("big5/queries/bin_span_log.ppl"));
timing(summary, "bin_span_log", ppl);
}

@Test
public void bin_span_time() throws IOException {
String ppl = sanitize(loadFromFile("big5/queries/bin_span_time.ppl"));
timing(summary, "bin_span_time", ppl);
}

public void coalesce_nonexistent_field_fallback() throws IOException {
String ppl = sanitize(loadFromFile("big5/queries/coalesce_nonexistent_field_fallback.ppl"));
timing(summary, "coalesce_nonexistent_field_fallback", ppl);
Expand Down
3 changes: 3 additions & 0 deletions integ-test/src/test/resources/big5/queries/bin_bins.ppl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source = big5
| bin `metrics.size` bins=5
| head 10
3 changes: 3 additions & 0 deletions integ-test/src/test/resources/big5/queries/bin_span_log.ppl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source = big5
| bin `metrics.size` span=log10
| head 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source = big5
| bin `@timestamp` span=1h
| head 10
Loading