Skip to content

Commit aa0d14c

Browse files
liukun4515alamb
andauthored
Update datafusion/optimizer/src/type_coercion.rs
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
1 parent a459c58 commit aa0d14c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

datafusion/optimizer/src/type_coercion.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -839,10 +839,7 @@ mod test {
839839

840840
// concat
841841
{
842-
let expr = Expr::ScalarFunction {
843-
fun: Concat,
844-
args: args.clone(),
845-
};
842+
let expr = concat(args.clone());
846843

847844
let plan = LogicalPlan::Projection(Projection::try_new(
848845
vec![expr],

0 commit comments

Comments
 (0)