Data editor settings

Data editor settings#

Data editor settings govern the export of the Preview data screen of tables and views to CSV and XLSX files (see Exporting the rows).

Allow Preview data export#

Preview data export to CSV and XLSX enabled (System_Core_DataEditor_Export_Enabled) is on by default. While it is off, the export button is greyed out and its note says an administrator turned the export off, and the export endpoints refuse every request. The change applies to the next export without a restart.

The setting is independent of Allow file export (System_Core_FileExport_Enabled), which governs the files CREATE EXTERNAL TABLE ... AS SELECT writes on the server. The Preview data export writes nothing on the server and grants no right a user lacks - the user can already page through every row it writes - but it does change how much data leaves in one step; turn it off where that is to be controlled.

Confirmation threshold#

Preview data export: row count that asks for confirmation (System_Core_DataEditor_ExportRowWarningThreshold, default 1000000) is the row count above which the user is asked to confirm an export. The count compared is the object’s stored row-count statistic, so it can be stale in either direction; an export whose count is unknown always asks. 0 never asks. With a filter in force on the grid the threshold does not apply: the user always chooses between the filtered rows and all rows in a window that shows both counts. An XLSX export whose count exceeds the 1,048,575 rows of a worksheet always warns, whatever this setting.

1,000,000 rows sits just below what a worksheet holds, and a CSV file of that many rows of a typical table is about 100-200 MB.