dosubot[bot] commented on issue #31784: URL: https://github.com/apache/superset/issues/31784#issuecomment-2582262545
<!-- Greeting --> Hey @devlatte! I'm a bot designed to help you with bug fixes, troubleshooting, and contributions. I'm here to assist you while waiting for a human maintainer. Let's squash some bugs together! <!-- Answer --> I found a similar unsolved discussion regarding Trino connection issues for CSV uploads in Superset version 4.1.0rc2. You can view the discussion [here](https://github.com/apache/superset/discussions/30601) <sup>[[1]](https://github.com/apache/superset/discussions/30601)</sup>. Regarding the errors you're encountering, it seems there are two main issues: 1. **Missing `has_table_by_name` Method**: The error indicates that the `Database` object lacks the `has_table_by_name` method. This might be due to changes introduced in pull request #28192. You may need to check if this method was removed or renamed in the recent updates. 2. **S3 Bucket Attribute Error**: The error `'S3' object has no attribute 'Bucket'` suggests a potential issue with the `boto3` library version or its usage in `hive.py`. The `upload_to_s3` function uses `boto3` to interact with S3, and there might be compatibility issues with the version of `boto3` you are using. Ensure that your `boto3` library is up-to-date and compatible with Python 3.10. Additionally, verify that the AWS credentials and permissions are correctly configured <sup>[[2]](https://github.com/apache/superset/blob/master/superset/db_engine_specs/hive.py)</sup>. You might want to investigate these areas further to resolve the issues. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/c3e1abbf-f68b-40f6-b9a7-fe62826d808f?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
