Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SetOp and EmptyTable should not implement TableIdNode #10443

@angelamayxie

Description

@angelamayxie

A SetOp node's exec indexes are assigned based on its left child node rather than the columns set in ColSet (see dolthub/go-mysql-server#3110)

The TableIdNode functions implemented for EmptyTable seem to only be used for testing purposes and cols is never actually set. As a result, no ColumnId's are added during columnIdsForNode, causing an offset when assigning column indexes (see #10434)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions