Skip to content
New issue

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

bug: REMOVE 'file/in/volume' panics #204

Closed
candiduslynx opened this issue Apr 9, 2024 · 0 comments · Fixed by #205
Closed

bug: REMOVE 'file/in/volume' panics #204

candiduslynx opened this issue Apr 9, 2024 · 0 comments · Fixed by #205

Comments

@candiduslynx
Copy link
Contributor

It's caused by the following section:

var stringValues []string = make([]string, 4)
for i := range stringValues {
if s, ok := sqlRow[i].(string); ok {
stringValues[i] = s
} else {
return dbsqlerrint.NewDriverError(ctx, "received unexpected response from the server.", nil)
}
}

It's assumed when handling staging requests to always have 4 columns in the return, however, remove returns only 3 (there's no local file).

kravets-levko pushed a commit that referenced this issue Apr 10, 2024
Closes #204

Signed-off-by: candiduslynx <candiduslynx@gmail.com>
esdrasbeleza pushed a commit to esdrasbeleza/databricks-sql-go that referenced this issue Apr 15, 2024
Closes databricks#204

Signed-off-by: candiduslynx <candiduslynx@gmail.com>
esdrasbeleza pushed a commit to esdrasbeleza/databricks-sql-go that referenced this issue Apr 15, 2024
Closes databricks#204

Signed-off-by: candiduslynx <candiduslynx@gmail.com>
Signed-off-by: Esdras Beleza <esdras@esdrasbeleza.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant