Skip to content

S3 Select not working #282

@berkorbay

Description

@berkorbay

Hi I am getting the following error when I use select_object.

[1] "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>MalformedXML</Code><Message>The XML provided was not well-formed or did not validate against our published schema. Please check the service documentation and try again.</Message><RequestId>9F45EFB54C52001B</RequestId><HostId>oVpCc6ZxF01w3JeISl9rGxYl8RwzWT0VeKuXc3nxmVaPWCPbG3KDc1i8Gzhm4etAgrbt+1D6WEI=</HostId></Error>"

I am trying to query a CSV file and I tried the most basic query.

aaa<-select_object(object="MYOBJECTPATH.csv",bucket="MYBUCKET",request_body="select * from s3object s")

What am I doing wrong here?

Edit: As a follow-up I tried the request body in here to no avail.

https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions