@@ -212,7 +212,7 @@ private static EvalOperator.ExpressionEvaluator evaluator(String operation) {
212212 FieldAttribute timestamp = new FieldAttribute (
213213 Source .EMPTY ,
214214 "timestamp" ,
215- new EsField ("timestamp" , DataType .DATETIME , Map .of (), true )
215+ new EsField ("timestamp" , DataType .DATETIME , Map .of (), true , EsField . TimeSeriesFieldType . NONE )
216216 );
217217 yield EvalMapper .toEvaluator (
218218 FOLD_CONTEXT ,
@@ -321,19 +321,35 @@ private static EvalOperator.ExpressionEvaluator evaluator(String operation) {
321321 }
322322
323323 private static FieldAttribute longField () {
324- return new FieldAttribute (Source .EMPTY , "long" , new EsField ("long" , DataType .LONG , Map .of (), true ));
324+ return new FieldAttribute (
325+ Source .EMPTY ,
326+ "long" ,
327+ new EsField ("long" , DataType .LONG , Map .of (), true , EsField .TimeSeriesFieldType .NONE )
328+ );
325329 }
326330
327331 private static FieldAttribute doubleField () {
328- return new FieldAttribute (Source .EMPTY , "double" , new EsField ("double" , DataType .DOUBLE , Map .of (), true ));
332+ return new FieldAttribute (
333+ Source .EMPTY ,
334+ "double" ,
335+ new EsField ("double" , DataType .DOUBLE , Map .of (), true , EsField .TimeSeriesFieldType .NONE )
336+ );
329337 }
330338
331339 private static FieldAttribute intField () {
332- return new FieldAttribute (Source .EMPTY , "int" , new EsField ("int" , DataType .INTEGER , Map .of (), true ));
340+ return new FieldAttribute (
341+ Source .EMPTY ,
342+ "int" ,
343+ new EsField ("int" , DataType .INTEGER , Map .of (), true , EsField .TimeSeriesFieldType .NONE )
344+ );
333345 }
334346
335347 private static FieldAttribute keywordField () {
336- return new FieldAttribute (Source .EMPTY , "keyword" , new EsField ("keyword" , DataType .KEYWORD , Map .of (), true ));
348+ return new FieldAttribute (
349+ Source .EMPTY ,
350+ "keyword" ,
351+ new EsField ("keyword" , DataType .KEYWORD , Map .of (), true , EsField .TimeSeriesFieldType .NONE )
352+ );
337353 }
338354
339355 private static Configuration configuration () {
0 commit comments