MCPcopy Create free account
hub / github.com/rilldata/rill / OrderByAliasExpression

Method OrderByAliasExpression

runtime/drivers/databricks/dialect.go:45–52  ·  view source on GitHub ↗
(name string, desc bool)

Source from the content-addressed store, hash-verified

43}
44
45func (d *dialect) OrderByAliasExpression(name string, desc bool) string {
46 res := d.EscapeAlias(name)
47 if desc {
48 res += " DESC"
49 }
50 res += " NULLS LAST"
51 return res
52}
53
54func (d *dialect) DimensionSelect(escapeTable string, dim *runtimev1.MetricsViewSpec_Dimension) (dimSelect, unnestClause string, err error) {
55 colName := d.EscapeIdentifier(dim.Name)

Callers

nothing calls this directly

Calls 1

EscapeAliasMethod · 0.65

Tested by

no test coverage detected