Skip to content
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

boto3 not detecting parquet #1840

Closed
ms8909 opened this issue Jan 17, 2019 · 3 comments
Closed

boto3 not detecting parquet #1840

ms8909 opened this issue Jan 17, 2019 · 3 comments
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made.

Comments

@ms8909
Copy link

ms8909 commented Jan 17, 2019

import boto3
ID= 'XXXX'
key= 'XXXX'
session = boto3.Session(
    aws_access_key_id=ID,
    aws_secret_access_key=key,
)
s3 = session.client('s3')
r = s3.select_object_content(
        Bucket='mltrons',
        Key='da2.parquet',
        ExpressionType='SQL',
        Expression="select * from s3object",
        InputSerialization={'Parquet': {}},
        OutputSerialization={'CSV': {}},
)

Above code is not working, and I am getting
NoSuchKey: An error occurred (NoSuchKey) when calling the SelectObjectContent operation: The specified key does not exist

This is strange because there is no issue with CSV file.

@JordonPhillips
Copy link
Contributor

Do those credentials have permissions for the object?

@JordonPhillips JordonPhillips added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jan 22, 2019
@no-response
Copy link

no-response bot commented Jan 29, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Jan 29, 2019
@jenishah
Copy link

I am also facing the same issue.
Is there any solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closing-soon This issue will automatically close in 4 days unless further comments are made.
Projects
None yet
Development

No branches or pull requests

3 participants