Skip to content

Commit cddb087

Browse files
committed
dolphin: Add ISNULL function signature
Fixes #630
1 parent fdfdd90 commit cddb087

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

internal/engine/dolphin/stdlib.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,9 +707,13 @@ func defaultSchema(name string) *catalog.Schema {
707707
ReturnType: &ast.TypeName{Name: "any"},
708708
},
709709
{
710-
Name: "ISNULL",
711-
Args: []*catalog.Argument{},
712-
ReturnType: &ast.TypeName{Name: "any"},
710+
Name: "ISNULL",
711+
Args: []*catalog.Argument{
712+
{
713+
Type: &ast.TypeName{Name: "any"},
714+
},
715+
},
716+
ReturnType: &ast.TypeName{Name: "bool"},
713717
},
714718
{
715719
Name: "IS_FREE_LOCK",

0 commit comments

Comments
 (0)