You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user-guide/configs.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,23 @@ The following configuration settings are available:
197
197
| datafusion.format.duration_format | pretty | Duration format. Can be either `"pretty"` or `"ISO8601"` |
198
198
| datafusion.format.types_info | false | Show types in visual representation batches |
199
199
200
+
# Reset Configuration Settings
201
+
202
+
You can also reset configuration options to default settings via SQL using the `RESET` command. For
203
+
example, to set and reset `datafusion.execution.batch_size`:
204
+
205
+
```sql
206
+
SETdatafusion.execution.batch_size ='10000';
207
+
208
+
SHOW datafusion.execution.batch_size;
209
+
datafusion.execution.batch_size 10000
210
+
211
+
RESET datafusion.execution.batch_size;
212
+
213
+
SHOW datafusion.execution.batch_size;
214
+
datafusion.execution.batch_size 8192
215
+
```
216
+
200
217
# Runtime Configuration Settings
201
218
202
219
DataFusion runtime configurations can be set via SQL using the `SET` command.
@@ -218,6 +235,23 @@ The following runtime configuration settings are available:
218
235
| datafusion.runtime.metadata_cache_limit | 50M | Maximum memory to use for file metadata cache such as Parquet metadata. Supports suffixes K (kilobytes), M (megabytes), and G (gigabytes). Example: '2G' for 2 gigabytes. |
219
236
| datafusion.runtime.temp_directory | NULL | The path to the temporary file directory. |
220
237
238
+
# Reset Runtime Configuration Settings
239
+
240
+
You can also reset runtime configuration options to default settings via SQL using the `RESET` command. For
241
+
example, to set and reset `datafusion.runtime.list_files_cache_limit`:
0 commit comments