You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting errors using AWS Athena ODBS driver ( and earlier Redshift) whenever I send Queries with CREATE TABLECREATE VIEWDROP TABLE and the like.
Naturally such queries do not return data, so the error message doesn't really make sense here.
Any known workaround for this?
I tried handling these situation with
try
df=ODBC.query(dsn,strSQL)
catch err
if occursin(err.msg,"SQL_NO_DATA")
println("done")
else
println(err)
println(strSQL)
return err
end
end
but that doesn't work.
The text was updated successfully, but these errors were encountered:
This changed in a recent release; before we were swallowing errors when fetching data, but obviously NO_SQL_DATA is a valid return code here. I'll work on a fix.
I keep getting errors using AWS Athena ODBS driver ( and earlier Redshift) whenever I send Queries with
CREATE TABLE
CREATE VIEW
DROP TABLE
and the like.Naturally such queries do not return data, so the error message doesn't really make sense here.
Any known workaround for this?
I tried handling these situation with
but that doesn't work.
The text was updated successfully, but these errors were encountered: