func (v *typeInferrer) handleValueExpr(x *ast.ValueExpr) { tp := types.DefaultTypeForValue(x.GetValue()) // Set charset and collation x.SetType(tp) }