Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Auto-update documentation for master (#75158)

github-automation-metabase4c598ca71176
diff --git a/docs/api.json b/docs/api.json
index 7a425590b89..cdc60f99f71 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -2080,16 +2080,29 @@
"metabase-enterprise.erd.impl.erd-node" : {
"type" : "object",
"properties" : {
- "db_id" : {
- "type" : "integer"
+ "owner" : {
+ "$ref" : "#/components/schemas/metabase-enterprise.erd.impl.erd-owner"
},
- "description" : {
+ "visibility_type" : {
+ "oneOf" : [ {
+ "type" : "string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "schema" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
},
+ "name" : {
+ "type" : "string"
+ },
+ "table_id" : {
+ "type" : "integer"
+ },
"display_name" : {
"type" : "string"
},
@@ -2099,21 +2112,15 @@
"$ref" : "#/components/schemas/metabase-enterprise.erd.impl.erd-field"
}
},
- "name" : {
- "type" : "string"
- },
- "owner" : {
- "$ref" : "#/components/schemas/metabase-enterprise.erd.impl.erd-owner"
+ "db_id" : {
+ "type" : "integer"
},
- "schema" : {
+ "description" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "table_id" : {
- "type" : "integer"
}
},
"required" : [ "table_id", "name", "display_name", "db_id", "fields" ]
@@ -6869,7 +6876,7 @@
},
"minItems" : 1
},
- "metabase.legacy-mbql.schema.MBQLQuery" : {
+ "metabase.legacy-mbql.schema.MBQLInnerQuery" : {
"allOf" : [ {
"type" : "object",
"properties" : {
@@ -6928,28 +6935,6 @@
"allOf" : [ ]
} ]
},
- "metabase.legacy-mbql.schema.NativeQuery" : {
- "description" : "Schema for a valid, normalized native [inner] query.",
- "allOf" : [ {
- "type" : "object",
- "properties" : {
- "collection" : {
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
- }, {
- "type" : "null"
- } ]
- },
- "query" : { },
- "template-tags" : {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.TemplateTagMap"
- }
- },
- "required" : [ "query" ]
- }, {
- "allOf" : [ ]
- } ]
- },
"metabase.legacy-mbql.schema.NativeSourceQuery" : {
"allOf" : [ {
"type" : "object",
@@ -7121,10 +7106,10 @@
} ]
},
"query" : {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.MBQLQuery"
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.MBQLInnerQuery"
},
"native" : {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.NativeQuery"
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.TopLevelNativeInnerQuery"
},
"info" : {
"description" : "Used when recording info about this run in the QueryExecution log; things like context query was\n ran in and User who ran it.",
@@ -7188,10 +7173,15 @@
"metabase.legacy-mbql.schema.RemoveFieldRefsFromFieldsAlreadyInBreakout" : { },
"metabase.legacy-mbql.schema.SourceQuery" : {
"description" : "Schema for a valid value for a `:source-query`.",
- "oneOf" : [ {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.NativeSourceQuery"
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : { }
}, {
- "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.MBQLQuery"
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.NativeSourceQuery"
+ }, {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.MBQLInnerQuery"
+ } ]
} ]
},
"metabase.legacy-mbql.schema.SourceTable" : {
@@ -7336,6 +7326,28 @@
"type" : "string",
"enum" : [ "hour", "second", "default", "hour-of-day", "millisecond", "minute-of-hour", "minute" ]
},
+ "metabase.legacy-mbql.schema.TopLevelNativeInnerQuery" : {
+ "description" : "Schema for a valid, normalized native [inner] query.",
+ "allOf" : [ {
+ "type" : "object",
+ "properties" : {
+ "collection" : {
+ "oneOf" : [ {
+ "$ref" : "#/components/schemas/metabase.lib.schema.common.non-blank-string"
+ }, {
+ "type" : "null"
+ } ]
+ },
+ "query" : { },
+ "template-tags" : {
+ "$ref" : "#/components/schemas/metabase.legacy-mbql.schema.TemplateTagMap"
+ }
+ },
+ "required" : [ "query" ]
+ }, {
+ "allOf" : [ ]
+ } ]
+ },
"metabase.legacy-mbql.schema.UnnamedAggregation" : {
"$ref" : "#/components/schemas/metabase.legacy-mbql.schema.AnyMBQLClause"
},
@@ -10154,13 +10166,6 @@
"type" : "null"
} ]
},
- "skewness" : {
- "oneOf" : [ {
- "type" : "number"
- }, {
- "type" : "null"
- } ]
- },
"top-3-fraction" : {
"oneOf" : [ {
"$ref" : "#/components/schemas/metabase.lib.schema.metadata.fingerprint.percent"
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index c16690e9499..4eae696df6a 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -131,6 +131,7 @@ config:
email-from-address: [email protected]
email-from-address-override: [email protected]
email-from-name: null
+ email-max-recipients-per-message: 50
email-max-recipients-per-second: null
email-reply-to: null
email-smtp-host: null
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index cb211f68ea7..2dd814e02a2 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -530,6 +530,17 @@ The email address you want to use for the sender of emails from your custom SMTP
The name you want to use for the sender of emails.
+### `MB_EMAIL_MAX_RECIPIENTS_PER_MESSAGE`
+
+- Type: integer
+- Default: `50`
+- [Exported as](../installation-and-operation/serialization.md): `email-max-recipients-per-message`.
+- [Configuration file name](./config-file.md): `email-max-recipients-per-message`
+
+The maximum number of recipients allowed on a single email. Notifications with more recipients than
+ this are split into multiple messages. This guards against SMTP providers (e.g. Amazon SES) that reject
+ any message exceeding their per-message recipient cap. Defaults to 50; set to 0 to disable batching.
+
### `MB_EMAIL_MAX_RECIPIENTS_PER_SECOND`
- Type: integer