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

function: correctly transform up explode nodes #765

Merged
merged 1 commit into from
Jun 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sql/expression/function/explode.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (e *Explode) String() string {

// TransformUp implements the sql.Expression interface.
func (e *Explode) TransformUp(f sql.TransformExprFunc) (sql.Expression, error) {
c, err := f(e.Child)
c, err := e.Child.TransformUp(f)
if err != nil {
return nil, err
}
Expand Down