-
Notifications
You must be signed in to change notification settings - Fork 37
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
paws Athena wrapper request #195
Comments
That sounds like a really cool tool and we'd be thrilled if you used Paws for it! Let us know if you have any questions about Paws along the way. |
Hi all, My question is: If I want to assume a role using profile "x", and then use that new role do I need to set those temporary credentials in the Method 1
OR Method 2:
|
It is interesting that you bring this up as this is a feature that we have been actively working on. In its current state, you would have to use method 1. However, we are getting close to rolling out support for passing in credentials using method 2. We hope to add that ability in this week. |
Thanks for getting back in touch, this is great news. I will keep an eye on your package. Currently I have template for the initial dbGetQuery wrapper. I will keep the method basic for now and update and adapt it to align with your up coming changes :) I will push to github soon, feel free to check out the progress of the wrapper. I am thinking of calling the package |
Hi all, Is there any plans to implement
So for
The reason for this request is that I am trying to create a In my other wrapper, I out a csv, tsv or parquet file types and upload them into s3 and then register the ddl in athena. |
You can use the |
Thanks @adambanker that example did help |
Hi all, I am having difficulty uploading object to a partitioned file structure using the current method:
Returned error:
The reason to create a partitioned file structure is for partition tables in athena please see attached for more details: Is there another method for creating partitioned file structures in s3 using the paws package? |
On first glance, on the line:
you set n = file.size(x) but x is undefined. Do you get the same error if you change it to:
|
hi @adambanker thanks for your reply. My apologises there was an error in my example code. After change it i still get the error when using https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-metadata |
Ah, sorry about that. We'll fix that tonight and have the newest version on CRAN within the next couple days. |
@davidkretch perfect so far i am really impressed with this package and the level in response time. I should have a working DBI interface into athena really soon with all the improvements you guys have been making. |
Hi All, Sorry to be a pain, but I am coming across this issue. I am trying to delete objects using Here is some example code:
The returning error:
From my understanding if a versionId is not provided then it should delete all versions. However it looks like it is passing VersionId The reason why delete objects is interesting as it can be used in combination with
|
We have a fix ready for this as well. We'll submit it to CRAN probably within the next day unless more comes up. |
@DyfanJones I'm going to close this issue if it's alright with you -- we've got another issue that covers setting the credentials as you discuss above and we're leaving that one open till we finish with it. |
@DyfanJones The bug fixes for the S3 key names and deleting multiple objects are now in the version of |
@davidkretch Thanks for the update :) I have ran my unit tests and the paws.athena wrapper is working with the update 👍 the good news is now the package can partition athena tables with |
@DyfanJones Cool, glad to hear it. We'll keep you posted. Also, about the name -- we think the name paws.athena might be a little confusing, since Paws is already made up of a bunch of different packages, all of which start with "paws." (paws, paws.common, paws.compute, etc.). I think it would be nice to have a common name pattern for helpful interfaces or abstraction layers to the AWS services e.g. Athena, but I don't know what that would be yet. I am not one for coming up with good names. |
@davidkretch no worries :) I am happy to change to the name to help prevent confusion. This is why I asked you guys in the first place :D I will change the package name to |
@DyfanJones Thanks -- that is a cool name. |
Hi all, |
Nice! We'll also link to |
Just to let you know, here is the blog: https://www.r-bloggers.com/an-amazon-sdk-for-r/ hope you enjoy the read |
Awesome! Thanks for the shout out! Also, if you want to contact us directly, you can email us at david.kretch@gmail.com and adam.banker39@gmail.com. |
Hi all,
First off this is a great package and I really excited to started working with it. I am currently working on a wrapper of the python boto3 to create a R DBI interface into athena (https://github.com/DyfanJones/RAthena). I am really keen to do the same type of wrapper using the paws package as the driver package instead.
I just a quick questions first:
Many thanks
The text was updated successfully, but these errors were encountered: