lua-aws icon indicating copy to clipboard operation
lua-aws copied to clipboard

s3 select support

Open mthota15 opened this issue 6 years ago • 2 comments

latest version of nodejs aws-sdk support s3 select. Can you add support for s3 select in lua-aws?

mthota15 avatar Jun 20 '18 13:06 mthota15

thank you for pointing this out, I've never checked the feature.

short answer: it probably possible for luasocket/resty.http, but I want to equally support this feature for other http modules, and I do not have enough time to do it right now.

long answer: according to https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html, it seems that we should handle s3 select request with asynchronous manner. I think it possible for luasocket + copas, or resty.http. but I'm not sure about possibility for other supported libs (curl, msys) for http, without making major changes for libs themselves. even if it is possible for all libs, it probably requires a lot of time.

umegaya avatar Jun 21 '18 00:06 umegaya

Thanks, I understand there is lots of work involved. But I want to get this request in for future support.

Thank you so much for making this library.

mthota15 avatar Jun 21 '18 02:06 mthota15