Overview
This article discusses how to disable UI downloads from Dremio. When disabling UI uploads, this can be done by setting support key ui.upload.allow
to false
.
Unfortunately, there are no support keys for disabling UI downloads, however, there is an alternate solution, described in this note.
Applies To
All versions
Details
In the UI, Click on settings --> Rules (Under Workload Management) --> Add Rule
Enter the below information
Name: <A meaningful name>
Conditions: query_type() IN ( 'UI Download')
Action: reject
Reason: <Any valid reason>
IMPORTANT - Make sure to move the above rule to the #1 position; if not, the rule may not take effect
Test by running a query and clicking download; the file would be created but will be zero bytes
Job details and profile (error tab) would show the error that was entered in the Reject reason under the WLM Rule
Further Reading
Workload management docs: https://docs.dremio.com/software/advanced-administration/workload-management/