File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,6 @@ def _annotate_math_with_float_decfloat(
265265 exp .ToBinary ,
266266 exp .TryBase64DecodeBinary ,
267267 exp .TryHexDecodeBinary ,
268- exp .TryToBinary ,
269268 exp .Unhex ,
270269 }
271270 },
@@ -281,15 +280,13 @@ def _annotate_math_with_float_decfloat(
281280 exp .Search ,
282281 exp .SearchIp ,
283282 exp .ToBoolean ,
284- exp .TryToBoolean ,
285283 }
286284 },
287285 ** {
288286 expr_type : {"returns" : exp .DataType .Type .DATE }
289287 for expr_type in {
290288 exp .NextDay ,
291289 exp .PreviousDay ,
292- exp .TryToDate ,
293290 }
294291 },
295292 ** {
@@ -323,7 +320,6 @@ def _annotate_math_with_float_decfloat(
323320 exp .MonthsBetween ,
324321 exp .Normal ,
325322 exp .Sinh ,
326- exp .TryToDouble ,
327323 }
328324 },
329325 ** {
@@ -395,17 +391,15 @@ def _annotate_math_with_float_decfloat(
395391 exp .ObjectAgg ,
396392 exp .ParseIp ,
397393 exp .ParseUrl ,
398- exp .ApproxPercentileCombine ,
399- exp .ApproxPercentileAccumulate ,
400- exp .ApproxTopKAccumulate ,
401- exp .ApproxTopKCombine ,
394+ exp .ToFile ,
402395 exp .XMLGet ,
403396 }
404397 },
405398 ** {
406399 expr_type : {"returns" : exp .DataType .Type .TIME }
407400 for expr_type in {
408401 exp .TimeFromParts ,
402+ exp .TsOrDsToTime ,
409403 }
410404 },
411405 ** {
@@ -469,6 +463,13 @@ def _annotate_math_with_float_decfloat(
469463 exp .MinhashCombine ,
470464 }
471465 },
466+ ** {
467+ expr_type : {"annotator" : _annotate_variance }
468+ for expr_type in (
469+ exp .Variance ,
470+ exp .VariancePop ,
471+ )
472+ },
472473 exp .ArgMax : {"annotator" : _annotate_arg_max_min },
473474 exp .ArgMin : {"annotator" : _annotate_arg_max_min },
474475 exp .ConcatWs : {"annotator" : lambda self , e : self ._annotate_by_args (e , "expressions" )},
You can’t perform that action at this time.
0 commit comments