Skip to content

Commit e3f0fce

Browse files
authored
minor: Fix docs for create_default_catalog_and_schema (#5032)
* minor: Fix docs for create_default_catalog_and_schema * fix guide
1 parent 43aca89 commit e3f0fce

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎datafusion/common/src/config.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ macro_rules! config_namespace {
154154
config_namespace! {
155155
/// Options related to catalog and directory scanning
156156
pub struct CatalogOptions {
157-
/// Number of partitions for query execution. Increasing partitions can increase
158-
/// concurrency. Defaults to the number of cpu cores on the system.
157+
/// Whether the default catalog and schema should be created automatically.
159158
pub create_default_catalog_and_schema: bool, default = true
160159

161160
/// The default catalog name - this impacts what SQL queries use if not specified

‎docs/source/user-guide/configs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Environment variables are read during `SessionConfig` initialisation so they mus
3737

3838
| key | default | description |
3939
| --------------------------------------------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
40-
| datafusion.catalog.create_default_catalog_and_schema | true | Number of partitions for query execution. Increasing partitions can increase concurrency. Defaults to the number of cpu cores on the system. |
40+
| datafusion.catalog.create_default_catalog_and_schema | true | Whether the default catalog and schema should be created automatically. |
4141
| datafusion.catalog.default_catalog | datafusion | The default catalog name - this impacts what SQL queries use if not specified |
4242
| datafusion.catalog.default_schema | public | The default schema name - this impacts what SQL queries use if not specified |
4343
| datafusion.catalog.information_schema | false | Should DataFusion provide access to `information_schema` virtual tables for displaying schema information |

0 commit comments

Comments
 (0)