Skip to content

Apache DataFusion SQL Query Engine

minor: Fix docs for create_default_catalog_and_schema (#5032)

Andrew Lambe3f0fce5d6b8
diff --git a/datafusion/common/src/config.rs b/datafusion/common/src/config.rs
index 51421c6b25..cc85e23367 100644
--- a/datafusion/common/src/config.rs
+++ b/datafusion/common/src/config.rs
@@ -154,8 +154,7 @@ macro_rules! config_namespace {
config_namespace! {
/// Options related to catalog and directory scanning
pub struct CatalogOptions {
- /// Number of partitions for query execution. Increasing partitions can increase
- /// concurrency. Defaults to the number of cpu cores on the system.
+ /// Whether the default catalog and schema should be created automatically.
pub create_default_catalog_and_schema: bool, default = true
/// The default catalog name - this impacts what SQL queries use if not specified
diff --git a/docs/source/user-guide/configs.md b/docs/source/user-guide/configs.md
index 57d23ce690..7f502f613f 100644
--- a/docs/source/user-guide/configs.md
+++ b/docs/source/user-guide/configs.md
@@ -37,7 +37,7 @@ Environment variables are read during `SessionConfig` initialisation so they mus
| key | default | description |
| --------------------------------------------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 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. |
+| datafusion.catalog.create_default_catalog_and_schema | true | Whether the default catalog and schema should be created automatically. |
| datafusion.catalog.default_catalog | datafusion | The default catalog name - this impacts what SQL queries use if not specified |
| datafusion.catalog.default_schema | public | The default schema name - this impacts what SQL queries use if not specified |
| datafusion.catalog.information_schema | false | Should DataFusion provide access to `information_schema` virtual tables for displaying schema information |