From 83dca08bbe30f41da4386228a8333604d8abdfef Mon Sep 17 00:00:00 2001 From: Weijun-H Date: Sat, 27 Jan 2024 16:42:38 +0800 Subject: [PATCH] fix doctest --- datafusion/expr/src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/expr/src/expr.rs b/datafusion/expr/src/expr.rs index 56a3d2bbc5675..d5de254cb18c3 100644 --- a/datafusion/expr/src/expr.rs +++ b/datafusion/expr/src/expr.rs @@ -1213,7 +1213,7 @@ impl Expr { /// # use datafusion_expr::{lit, col}; /// let expr = col("c1") /// .range(lit(2), lit(4)); - /// assert_eq!(expr.display_name().unwrap(), "c1[Int32(2):Int32(4)]"); + /// assert_eq!(expr.display_name().unwrap(), "c1[Int32(2):Int32(4):Int64(1)]"); /// ``` pub fn range(self, start: Expr, stop: Expr) -> Self { Expr::GetIndexedField(GetIndexedField {