From 1e052c4fb48a40c2b0747950358f8c2ee61762b8 Mon Sep 17 00:00:00 2001 From: David Esner Date: Mon, 10 Mar 2025 08:09:21 +0100 Subject: [PATCH 1/3] Add statement override docs --- components/extractors/database/mysql/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/components/extractors/database/mysql/index.md b/components/extractors/database/mysql/index.md index 63cc05a7e..a09049b2a 100644 --- a/components/extractors/database/mysql/index.md +++ b/components/extractors/database/mysql/index.md @@ -619,6 +619,7 @@ how long the connector holds the MySQL global read lock during a snapshot: - **`minimal`**: Locks only during the initial schema read, then releases while using a `REPEATABLE READ` transaction for consistency. - **`extended`**: Locks for the entire snapshot to avoid conflicts with concurrent operations. - **`none`**: No table locks; this is safe if no schema changes occur. MyISAM tables still lock by default. +- **Snapshot Statement Override** - Define a custom SQL SELECT statement to be used for fetching the initial snapshot. ### Destination From 7d199a886a3dd833ea405035a6738bc6cef0b917 Mon Sep 17 00:00:00 2001 From: David Esner Date: Mon, 10 Mar 2025 08:12:03 +0100 Subject: [PATCH 2/3] Update components/extractors/database/mysql/index.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- components/extractors/database/mysql/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/extractors/database/mysql/index.md b/components/extractors/database/mysql/index.md index a09049b2a..773ca176b 100644 --- a/components/extractors/database/mysql/index.md +++ b/components/extractors/database/mysql/index.md @@ -619,8 +619,7 @@ how long the connector holds the MySQL global read lock during a snapshot: - **`minimal`**: Locks only during the initial schema read, then releases while using a `REPEATABLE READ` transaction for consistency. - **`extended`**: Locks for the entire snapshot to avoid conflicts with concurrent operations. - **`none`**: No table locks; this is safe if no schema changes occur. MyISAM tables still lock by default. -- **Snapshot Statement Override** - Define a custom SQL SELECT statement to be used for fetching the initial snapshot. - +- **Snapshot Statement Override**: Define a custom SQL SELECT statement to be used for fetching the initial snapshot. ### Destination The destination is a mandatory configuration option. It is used to specify how the data is loaded into the destination From 1e9d48b7e6f6697b7544f7dc3ea5f68738906e70 Mon Sep 17 00:00:00 2001 From: soustruh Date: Mon, 17 Mar 2025 10:05:26 +0100 Subject: [PATCH 3/3] Add newline after "Snapshot Statement Override" section --- components/extractors/database/mysql/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/components/extractors/database/mysql/index.md b/components/extractors/database/mysql/index.md index 773ca176b..67c529575 100644 --- a/components/extractors/database/mysql/index.md +++ b/components/extractors/database/mysql/index.md @@ -620,6 +620,7 @@ how long the connector holds the MySQL global read lock during a snapshot: - **`extended`**: Locks for the entire snapshot to avoid conflicts with concurrent operations. - **`none`**: No table locks; this is safe if no schema changes occur. MyISAM tables still lock by default. - **Snapshot Statement Override**: Define a custom SQL SELECT statement to be used for fetching the initial snapshot. + ### Destination The destination is a mandatory configuration option. It is used to specify how the data is loaded into the destination