Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrValidationResolved is returned when the plan can not be resolved. ErrValidationResolved = errors.NewKind("plan is not resolved because of node '%T'") // ErrValidationOrderBy is returned when the order by contains aggregation // expressions. ErrValidationOrderBy = errors.NewKind("OrderBy does not support aggregation expressions") // ErrValidationGroupBy is returned when the aggregation expression does not // appear in the grouping columns. ErrValidationGroupBy = errors.NewKind("expression '%v' doesn't appear in the group by expressions") // ErrValidationSchemaSource is returned when there is any column source // that does not match the table name. ErrValidationSchemaSource = errors.NewKind("one or more schema sources are empty") // ErrUnknownIndexColumns is returned when there are columns in the expr // to index that are unknown in the table. ErrUnknownIndexColumns = errors.NewKind("unknown columns to index for table %q: %s") // ErrCaseResultType is returned when one or more of the types of the values in // a case expression don't match. ErrCaseResultType = errors.NewKind( "expecting all case branches to return values of type %s, " + "but found value %q of type %s on %s", ) // ErrIntervalInvalidUse is returned when an interval expression is not // correctly used. ErrIntervalInvalidUse = errors.NewKind( "invalid use of an interval, which can only be used with DATE_ADD, " + "DATE_SUB and +/- operators to subtract from or add to a date", ) // ErrExplodeInvalidUse is returned when an EXPLODE function is used // outside a Project node. ErrExplodeInvalidUse = errors.NewKind( "using EXPLODE is not supported outside a Project node", ) // ErrSubqueryFieldIndex is returned when an expression subquery references a field outside the range of the rows it // works on. ErrSubqueryFieldIndex = errors.NewKind( "subquery field index out of range for expression %s: only %d columns available", ) // ErrUnionSchemasMatch is returned when both sides of a UNION do not // have the same schema. ErrUnionSchemasMatch = errors.NewKind( "the schema of the left side of union does not match the right side, expected %s to match %s", ) // ErrReadOnlyDatabase is returned when a write is attempted to a ReadOnlyDatabse. ErrReadOnlyDatabase = errors.NewKind("Database %s is read-only.") // ErrInvalidRowLength is returned when a DDL table spec exceeds the row length limit ErrInvalidRowLength = errors.NewKind("invalid table spec: expected size < %d, found %d") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.