Skip to content
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

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Updated docs #4

merged 6 commits into from
Nov 20, 2024

Conversation

AdalbertMemSQL
Copy link
Collaborator

  • mentioned that the connector is in the preview state
  • added notes on how to avoid stale offset errors

@@ -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

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?

Copy link
Contributor

@5tran-alexil 5tran-alexil Nov 19, 2024

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.

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

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 Show resolved Hide resolved
docs/overview.md Outdated Show resolved Hide resolved
docs/overview.md Outdated Show resolved Hide resolved
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
queries which are currently in a preview state. As such, it is intended for experimental use only.

docs/overview.md Outdated Show resolved Hide resolved
docs/overview.md Outdated Show resolved Hide resolved
@@ -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.
Copy link
Contributor

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?

docs/overview.md Outdated Show resolved Hide resolved
docs/overview.md Outdated Show resolved Hide resolved
docs/setup-guide.md Outdated Show resolved Hide resolved
docs/setup-guide.md Outdated Show resolved Hide resolved
Copy link
Contributor

@5tran-alexil 5tran-alexil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments.

docs/setup-guide.md Outdated Show resolved Hide resolved
Co-authored-by: Alex Ilyichov <[email protected]>
docs/overview.md Outdated Show resolved Hide resolved
Co-authored-by: Alex Ilyichov <[email protected]>
@AdalbertMemSQL AdalbertMemSQL merged commit 9eb0ee6 into main Nov 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants