File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
rust/cubestore/cubestore/src/streaming Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -505,26 +505,29 @@ impl KafkaPostProcessPlanner {
505505 if let Some ( existing_name) = & column_name {
506506 if existing_name != & name {
507507 return Err ( CubeError :: user (
508- "Scalar function can only use a single column" . to_string ( ) ,
508+ "Scalar function can only use a single column"
509+ . to_string ( ) ,
509510 ) ) ;
510511 }
511512 } else {
512513 column_name = Some ( name) ;
513514 }
514515 }
515- _ => { } ,
516+ _ => { }
516517 }
517518 }
518519 column_name. ok_or_else ( || {
519- CubeError :: user ( "Scalar function must contain at least one column" . to_string ( ) )
520+ CubeError :: user (
521+ "Scalar function must contain at least one column" . to_string ( ) ,
522+ )
520523 } )
521- } ,
524+ }
522525 _ => {
523526 println ! ( "unknown expr: {:?}" , e) ;
524527 Err ( CubeError :: user ( format ! (
525528 "Unique key can't be an expression in kafka streaming queries"
526529 ) ) )
527- } ,
530+ }
528531 } ,
529532 _ => Err ( CubeError :: user (
530533 "All expressions must have aliases in kafka streaming queries" . to_string ( ) ,
You can’t perform that action at this time.
0 commit comments