-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated docs #4
Updated docs #4
Conversation
AdalbertMemSQL
commented
Nov 18, 2024
- mentioned that the connector is in the preview state
- added notes on how to avoid stale offset errors
docs/setup-guide.md
Outdated
@@ -55,6 +55,20 @@ To authorize Fivetran to connect to your SinlgeStore database, follow these inst | |||
SET enable_observe_queries=1 | |||
``` | |||
|
|||
4. (Optional) Configure `snapshots_to_keep` and `snapshot_trigger_size` engine variables. At some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a link to SingleStore docs, if there is more information about these variables there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a one-line paragraph here?
UPDATE: The reason for this is that having deliberate line breaks makes Fivetran doc code (if we want to have identical doc code) non-uniform and makes it difficult to use regex for search and replace during doc updates.
docs/setup-guide.md
Outdated
retrieve data associated with that logical point in the WAL (Write-Ahead Log). In practical | ||
terms, `offsets` become stale once they are older than the oldest snapshot in the system. The | ||
`snapshots_to_keep` and `snapshot_trigger_size` variables control the number and size of | ||
snapshots, providing you with some control over the data retention window. If offsets become |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would elaborate "some control" a bit - e.g. if you increase snapshots_to_keep
, offsets
will become stale later.
docs/overview.md
Outdated
@@ -12,6 +12,13 @@ transactional and analytical workloads with a unified engine. It provides real-t | |||
transactions, and streaming capabilities, enabling users to handle diverse workloads on a single | |||
platform. | |||
|
|||
**Note:** this connector utilizes | |||
SingleStore's [OBSERVE](https://docs.singlestore.com/cloud/reference/sql-reference/data-manipulation-language-dml/observe/) | |||
queries which are currently in a preview state. As such, it is intended for experimental use only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queries which are currently in a preview state. As such, it is intended for experimental use only. |
@@ -58,9 +65,8 @@ Fivetran adds the following columns to table in your destination: | |||
|
|||
- `_fivetran_deleted` (BOOLEAN) marks deleted rows in the source database. | |||
- `_fivetran_synced` (UTC TIMESTAMP) indicates when Fivetran last successfully synced the row. | |||
- `_fivetran_index` (INTEGER) shows the order of updates for tables that do not have a primary key. | |||
- `_fivetran_id` (STRING) is the hash of the non-Fivetran values of each row. It's a unique ID that | |||
Fivetran uses to avoid duplicate rows in tables that do not have a primary key. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are _fivetran_index and _fivetran_id deprecated/removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments.
Co-authored-by: Alex Ilyichov <[email protected]>
Co-authored-by: Alex Ilyichov <[email protected]>
Co-authored-by: Alex Ilyichov <[email protected]>
Co-authored-by: Alex Ilyichov <[email protected]>