File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl Dialect for ClickHouseDialect {
7171 true
7272 }
7373
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>
7575 fn supports_lambda_functions ( & self ) -> bool {
7676 true
7777 }
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ impl Dialect for DuckDbDialect {
6565 true
6666 }
6767
68- /// See https://duckdb.org/docs/sql/functions/lambda.html
68+ /// See < https://duckdb.org/docs/sql/functions/lambda.html>
6969 fn supports_lambda_functions ( & self ) -> bool {
7070 true
7171 }
Original file line number Diff line number Diff line change @@ -13362,17 +13362,17 @@ fn test_parensless_lambdas() {
1336213362 call(
1336313363 "array" ,
1336413364 [
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" ) ) ,
1336813368 ]
1336913369 ) ,
1337013370 Expr :: Lambda ( LambdaFunction {
1337113371 params: OneOrManyWithParens :: One ( Ident :: new( "x" ) ) ,
1337213372 body: Box :: new( Expr :: BinaryOp {
1337313373 left: Box :: new( Expr :: Identifier ( Ident :: new( "x" ) ) ) ,
1337413374 op: BinaryOperator :: Plus ,
13375- right: Box :: new( Expr :: Value ( Value :: Number ( "1" . to_owned ( ) , false ) ) )
13375+ right: Box :: new( Expr :: Value ( number ( "1" ) ) )
1337613376 } )
1337713377 } )
1337813378 ]
You can’t perform that action at this time.
0 commit comments