func resolveDescribeQuery(ctx *sql.Context, a *Analyzer, n sql.Node, scope *Scope) (sql.Node, error) {
	d, ok := n.(*plan.DescribeQuery)
	if !ok {
		return n, nil
	}
	q, err := a.Analyze(ctx, d.Query(), scope)
	if err != nil {
		return nil, err
	}
	return d.WithQuery(stripQueryProcess(q)), nil
}
resolveDescribeQuery resolves any DescribeQuery nodes by analyzing their child and assigning it back.
package analyzer
import (
	"github.com/dolthub/go-mysql-server/sql"
	"github.com/dolthub/go-mysql-server/sql/plan"
)