File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed 
x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/operator Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -225,9 +225,6 @@ tests:
225225  issue : https://github.com/elastic/elasticsearch/issues/116050 
226226- class : org.elasticsearch.xpack.application.connector.ConnectorIndexServiceTests 
227227  issue : https://github.com/elastic/elasticsearch/issues/116087 
228- - class : org.elasticsearch.compute.operator.FilterOperatorTests 
229-   method : testSimpleDescription 
230-   issue : https://github.com/elastic/elasticsearch/issues/116094 
231228- class : org.elasticsearch.xpack.searchbusinessrules.PinnedQueryBuilderIT 
232229  method : testPinnedPromotions 
233230  issue : https://github.com/elastic/elasticsearch/issues/116097 
Original file line number Diff line number Diff line change @@ -53,7 +53,18 @@ public void close() {}
5353
5454    @ Override 
5555    protected  Operator .OperatorFactory  simple () {
56-         return  new  FilterOperator .FilterOperatorFactory (dvrCtx  -> new  SameLastDigit (dvrCtx , 0 , 1 ));
56+         return  new  FilterOperator .FilterOperatorFactory (new  EvalOperator .ExpressionEvaluator .Factory () {
57+ 
58+             @ Override 
59+             public  EvalOperator .ExpressionEvaluator  get (DriverContext  context ) {
60+                 return  new  SameLastDigit (context , 0 , 1 );
61+             }
62+ 
63+             @ Override 
64+             public  String  toString () {
65+                 return  "SameLastDigit[lhs=0, rhs=1]" ;
66+             }
67+         });
5768    }
5869
5970    @ Override 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments