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 bce4318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 bce4318

Please sign in to comment.