dosubot[bot] commented on issue #30585: URL: https://github.com/apache/superset/issues/30585#issuecomment-2407385170
<!-- Answer --> The issue with importing a MySQL connection that includes timeouts might be related to validation checks on the `cache_timeout` and `metadata_cache_timeout` fields. If these fields are not handled correctly during import, it can lead to errors. To resolve this, you can: 1. **Remove or Comment Out Timeouts**: As you've discovered, commenting out the `cache_timeout` and `metadata_cache_timeout` fields in the YAML file can bypass the validation issue. 2. **Check Validation Logic**: Ensure that the fields are correctly formatted and meet any validation requirements in the Superset version you are using. 3. **Update Superset**: If possible, check if there are updates or patches available for Superset that address this issue. The workaround you've used is effective, but it might be worth investigating if there are any updates or configuration changes that could permanently resolve the issue. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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]
