|  | @@ -1732,7 +1732,8 @@ public class VerifierTests extends ESTestCase {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void testCategorizeSingleGrouping() {
 | 
	
		
			
				|  |  | -        assumeTrue("requires snapshot builds", Build.current().isSnapshot());
 | 
	
		
			
				|  |  | +        assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          query("from test | STATS COUNT(*) BY CATEGORIZE(first_name)");
 | 
	
		
			
				|  |  |          query("from test | STATS COUNT(*) BY cat = CATEGORIZE(first_name)");
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1760,7 +1761,8 @@ public class VerifierTests extends ESTestCase {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void testCategorizeNestedGrouping() {
 | 
	
		
			
				|  |  | -        assumeTrue("requires snapshot builds", Build.current().isSnapshot());
 | 
	
		
			
				|  |  | +        assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          query("from test | STATS COUNT(*) BY CATEGORIZE(LENGTH(first_name)::string)");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          assertEquals(
 | 
	
	
		
			
				|  | @@ -1774,7 +1776,8 @@ public class VerifierTests extends ESTestCase {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      public void testCategorizeWithinAggregations() {
 | 
	
		
			
				|  |  | -        assumeTrue("requires snapshot builds", Build.current().isSnapshot());
 | 
	
		
			
				|  |  | +        assumeTrue("requires Categorize capability", EsqlCapabilities.Cap.CATEGORIZE.isEnabled());
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          query("from test | STATS MV_COUNT(cat), COUNT(*) BY cat = CATEGORIZE(first_name)");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          assertEquals(
 |