-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fixes #19619 #19620
base: main
Are you sure you want to change the base?
Fixes #19619 #19620
Conversation
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@trina242 thanks for the contribution 🙇
just one question...
client_kwargs["secret_key"] = self.config_source.securityConfig.awsSecretAccessKey.get_secret_value() | ||
s3_fs = S3FileSystem(**client_kwargs) | ||
|
||
bucket_uri = f"{bucket_name}/{key}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this uri not require a s3:// prefix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, actually it throws this error when you prefix it with s3://
The Python checkstyle failed. Please run You can install the pre-commit hooks with |
Describe your changes:
Fixes #19619
s3fs.S3FileSystem
has been replaced withpyarrow.fs.S3FileSystem
in ParquetDataFrameReader, as:role_arn
as argument, which is not supported by s3fs (hence fixes bug -assumeRoleArn
was not passed to the filesystem, so it couldn't access the files),Type of change:
Checklist:
Fixes <issue-number>: <short explanation>