Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit bc23348

Browse files
authored
function: correctly transform up explode nodes (#765)
function: correctly transform up explode nodes
2 parents 296f3ed + 1623718 commit bc23348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/expression/function/explode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (e *Explode) String() string {
4242

4343
// TransformUp implements the sql.Expression interface.
4444
func (e *Explode) TransformUp(f sql.TransformExprFunc) (sql.Expression, error) {
45-
c, err := f(e.Child)
45+
c, err := e.Child.TransformUp(f)
4646
if err != nil {
4747
return nil, err
4848
}

0 commit comments

Comments
 (0)