Skip to content

Commit

Permalink
Skip CATEGORIZE tests outside snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Nov 20, 2024
1 parent 570a55c commit 7f0a1bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,7 @@ public void testIntervalAsString() {
}

public void testCategorizeSingleGrouping() {
assumeTrue("requires snapshot builds", Build.current().isSnapshot());
query("from test | STATS COUNT(*) BY CATEGORIZE(first_name)");
query("from test | STATS COUNT(*) BY cat = CATEGORIZE(first_name)");

Expand Down Expand Up @@ -1765,6 +1766,7 @@ public void testCategorizeSingleGrouping() {
}

public void testCategorizeNestedGrouping() {
assumeTrue("requires snapshot builds", Build.current().isSnapshot());
query("from test | STATS COUNT(*) BY CATEGORIZE(LENGTH(first_name)::string)");

assertEquals(
Expand All @@ -1778,6 +1780,7 @@ public void testCategorizeNestedGrouping() {
}

public void testCategorizeWithinAggregations() {
assumeTrue("requires snapshot builds", Build.current().isSnapshot());
query("from test | STATS MV_COUNT(cat), COUNT(*) BY cat = CATEGORIZE(first_name)");

assertEquals(
Expand Down

0 comments on commit 7f0a1bb

Please sign in to comment.