Documentation
¶
Index ¶
- func GetConstantValue(vec *vector.Vector, transAll bool, row uint64) *plan.Literal
- func GetConstantValue2(proc *process.Process, expr *plan.Expr, vec *vector.Vector) (get bool, err error)
- func IsConstant(e *plan.Expr, varAndParamIsConst bool) bool
- func IsDivisionByZeroConstant(fn *plan.Function) bool
- type ConstantFold
- type PredicatePushdown
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConstantValue ¶ added in v0.7.0
func GetConstantValue2 ¶
func IsDivisionByZeroConstant ¶
IsDivisionByZeroConstant checks if the expression is a division/modulo operation where the divisor is a constant zero or either operand is NULL. We skip constant folding for such cases to allow runtime to properly handle them.
Types ¶
type ConstantFold ¶
type ConstantFold struct {
// contains filtered or unexported fields
}
func NewConstantFold ¶ added in v0.6.0
func NewConstantFold(isPrepared bool) *ConstantFold
func (*ConstantFold) GetBatch ¶ added in v0.6.0
func (r *ConstantFold) GetBatch() *batch.Batch
type PredicatePushdown ¶
type PredicatePushdown struct {
}
func NewPredicatePushdown ¶
func NewPredicatePushdown() *PredicatePushdown
Click to show internal directories.
Click to hide internal directories.