MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Normalize

Method Normalize

pkg/sql/sem/tree/datum.go:3172–3175  ·  view source on GitHub ↗

Normalize sorts and uniques the datum tuple.

(ctx *EvalContext)

Source from the content-addressed store, hash-verified

3170
3171// Normalize sorts and uniques the datum tuple.
3172func (d *DTuple) Normalize(ctx *EvalContext) {
3173 d.sort(ctx)
3174 d.makeUnique(ctx)
3175}
3176
3177func (d *DTuple) sort(ctx *EvalContext) {
3178 if !d.sorted {

Callers 1

normalizeMethod · 0.45

Calls 2

sortMethod · 0.95
makeUniqueMethod · 0.95

Tested by

no test coverage detected