File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl Dialect for ClickHouseDialect {
71
71
true
72
72
}
73
73
74
- /// See https://clickhouse.com/docs/en/sql-reference/functions#higher-order-functions---operator-and-lambdaparams-expr-function
74
+ /// See < https://clickhouse.com/docs/en/sql-reference/functions#higher-order-functions---operator-and-lambdaparams-expr-function>
75
75
fn supports_lambda_functions ( & self ) -> bool {
76
76
true
77
77
}
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ impl Dialect for DuckDbDialect {
65
65
true
66
66
}
67
67
68
- /// See https://duckdb.org/docs/sql/functions/lambda.html
68
+ /// See < https://duckdb.org/docs/sql/functions/lambda.html>
69
69
fn supports_lambda_functions ( & self ) -> bool {
70
70
true
71
71
}
Original file line number Diff line number Diff line change @@ -13362,17 +13362,17 @@ fn test_parensless_lambdas() {
13362
13362
call(
13363
13363
"array" ,
13364
13364
[
13365
- Expr :: Value ( Value :: Number ( "1" . to_owned ( ) , false ) ) ,
13366
- Expr :: Value ( Value :: Number ( "2" . to_owned ( ) , false ) ) ,
13367
- Expr :: Value ( Value :: Number ( "3" . to_owned ( ) , false ) ) ,
13365
+ Expr :: Value ( number ( "1" ) ) ,
13366
+ Expr :: Value ( number ( "2" ) ) ,
13367
+ Expr :: Value ( number ( "3" ) ) ,
13368
13368
]
13369
13369
) ,
13370
13370
Expr :: Lambda ( LambdaFunction {
13371
13371
params: OneOrManyWithParens :: One ( Ident :: new( "x" ) ) ,
13372
13372
body: Box :: new( Expr :: BinaryOp {
13373
13373
left: Box :: new( Expr :: Identifier ( Ident :: new( "x" ) ) ) ,
13374
13374
op: BinaryOperator :: Plus ,
13375
- right: Box :: new( Expr :: Value ( Value :: Number ( "1" . to_owned ( ) , false ) ) )
13375
+ right: Box :: new( Expr :: Value ( number ( "1" ) ) )
13376
13376
} )
13377
13377
} )
13378
13378
]
You can’t perform that action at this time.
0 commit comments