We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 57fcb7a + b5f8350 commit c5a29f1Copy full SHA for c5a29f1
1 file changed
pyathena/connection.py
@@ -261,7 +261,10 @@ def __init__(
261
assert self.s3_staging_dir or self.work_group, (
262
"Required argument `s3_staging_dir` or `work_group` not found."
263
)
264
-
+
265
+ if self.s3_staging_dir and not self.s3_staging_dir.endswith("/"):
266
+ self.s3_staging_dir = f"{self.s3_staging_dir}/"
267
268
if session:
269
self._session = session
270
else:
0 commit comments