We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What happened: The column type "Array(Nullable(String))" is not tested in either pkg/converters/converters_test.go or pkg/plugin/driver_test.go. I made one test case in file pkg/plugin/driver_test.go on my local then sometimes I found the error below on line 280.
sql: Scan error on column index 0, name "col1": unsupported Scan, storing driver.Value type []*string into type *string
The function I wrote looks like this
func TestArrayNullableString(t *testing.T) { for name, protocol := range Protocols { t.Run(fmt.Sprintf("using %s", name), func(t *testing.T) { var val []*string conn, close := setupTest(t, "col1 Array(Nullable(String))", protocol, nil) defer close(t) v := "48" val = append(val, &v, nil) insertData(t, conn, val) checkRows(t, conn, 1, val) }) } }
What you expected to happen: Expecting no error while using the plugin with the column type "Array(Nullable(String))"
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?: This error does not always appear.
Environment:
The text was updated successfully, but these errors were encountered:
These two regex won't match with the complex column type now.
310eeae
grafana#783
The PR above fixes my problem and all the tests are running fine.
Sorry, something went wrong.
No branches or pull requests
What happened:
The column type "Array(Nullable(String))" is not tested in either pkg/converters/converters_test.go or pkg/plugin/driver_test.go. I made one test case in file pkg/plugin/driver_test.go on my local then sometimes I found the error below on line 280.
The function I wrote looks like this
What you expected to happen:
Expecting no error while using the plugin with the column type "Array(Nullable(String))"
How to reproduce it (as minimally and precisely as possible):
Screenshots
Anything else we need to know?:
This error does not always appear.
Environment:
The text was updated successfully, but these errors were encountered: