dosubot[bot] commented on issue #31395: URL: https://github.com/apache/superset/issues/31395#issuecomment-2533661371
<!-- Answer --> The "download to CSV" option might not be visible in the SQL-Lab UI of Superset-4.1.1 if the `csv` prop in the `ResultSet` component is set to `false`. This prop controls the visibility of the CSV download button and defaults to `true`. Additionally, ensure that the user has the necessary permissions, specifically the `can_export_csv` permission in the `SQLLab` context, to export data to CSV <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/SqlLab/components/ResultSet/index.tsx)</sup>. If these conditions are met and the button is still not visible, further investigation into the configuration or permissions may be required. It's also worth checking if there are any specific configurations that might disable the CSV export feature for the "TrinoGateway" database, although no specific information was found regarding this <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/SqlLab/components/ResultSet/index.tsx)</sup>. <!-- 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/c86e6eff-7cd7-4ad7-8b59-381edeec7611?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c86e6eff-7cd7-4ad7-8b59-381edeec7611?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c86e6eff-7cd7-4ad7-8b59-381edeec7611?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c86e6eff-7cd7-4ad7-8b59-381edeec7611?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c86e6eff-7cd7-4ad7-8b59-381edeec7611?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/c86e6eff-7cd7-4ad7-8b59-381edeec7611?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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org