MCPcopy
hub / github.com/pingcap/tidb / GetType

Method GetType

pkg/parser/ast/ast.go:75–75  ·  view source on GitHub ↗

GetType gets the evaluation type of the expression.

()

Source from the content-addressed store, hash-verified

73 SetType(tp *types.FieldType)
74 // GetType gets the evaluation type of the expression.
75 GetType() *types.FieldType
76 // SetFlag sets flag to the expression.
77 // Flag indicates whether the expression contains
78 // parameter marker, reference, aggregate function...

Callers 15

tryScatterRegionsMethod · 0.65
isScatterRegionFinishedFunction · 0.65
IsTypeCompatibleFunction · 0.65
TestBuildExpressionFunction · 0.65
matchEQPredicateMethod · 0.65
buildExpandMethod · 0.65
buildSelectionMethod · 0.65
buildProjectionFieldMethod · 0.65
unionJoinFieldTypeFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestBuildExpressionFunction · 0.52
testDecimalConvertFunction · 0.52
testJoinKeyTypeConvertFunction · 0.52
TestIssue52472Function · 0.52
TestWrapCastForAggFuncsFunction · 0.52
TestOptimizerColumnTypeFunction · 0.52
findEventFunction · 0.52
findEventWithTimeoutFunction · 0.52
findEventFunction · 0.52