Skip to content

Commit

Permalink
dolphin: Fix the return type of SUM()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jille committed Feb 26, 2024
1 parent a0a321b commit 41ea794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/engine/dolphin/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -5202,7 +5202,8 @@ func defaultSchema(name string) *catalog.Schema {
Type: &ast.TypeName{Name: "any"},
},
},
ReturnType: &ast.TypeName{Name: "any"},
ReturnType: &ast.TypeName{Name: "int"},
ReturnTypeNullable: true,
},
{
Name: "SYSDATE",
Expand Down

0 comments on commit 41ea794

Please sign in to comment.