Skip to content

Commit 1e72d81

Browse files
committed
asked changes
1 parent 3106730 commit 1e72d81

File tree

1 file changed

+15
-15
lines changed
  • src/connections/destinations/catalog/actions-singlestore

1 file changed

+15
-15
lines changed

src/connections/destinations/catalog/actions-singlestore/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ This destination is maintained by SingleStore. For any issues with the destinati
2727
{% include components/actions-fields.html %}
2828

2929
### Finding your SingleStore connection settings
30-
To connect Segment to SingleStore, use the SingleStore Data API (typically on port 443). Follow these steps to enable and locate your Data API connection settings:
30+
To connect Segment to SingleStore, use the SingleStore Data API (typically on port `443`). Follow these steps to enable and locate your Data API connection settings:
3131

3232
1. Head to the [SingleStore Portal](https://portal.singlestore.com){:target="_blank"}.
3333
2. Select **Deployments**.
34-
3. Choose your Workspace and Database within the list of Deployments
35-
4. From the Connect dropdown, select **Connect to your own app**. SingleStore will display the the key settings you need to connect your SingleStore database to Segment.
34+
3. Choose your **Workspace** and **Database** within the list of deployments
35+
4. From the **Connect** dropdown, select **Connect to your own app**. SingleStore will display the the key settings you need to connect your SingleStore database to Segment.
3636

37-
**Note:**
37+
**Note**:
3838
- The Data API is enabled by default for all SingleStore Cloud workspaces.
39-
- Segment always uses the Data API (typically on port 443).
40-
- If you are using a self-hosted or development SingleStore deployment (such as the SingleStore-dev image), the Data API may run on a different port. Refer to your deployment’s documentation or settings to confirm the correct port.
39+
- Segment always uses the Data API (typically on port `443`).
40+
- If you use a self-hosted or development SingleStore deployment (such as the SingleStore-dev image), the Data API may run on a different port. Refer to your deployment’s documentation or settings to confirm the correct port.
4141

42-
For more details, see the [SingleStore Data API documentation](https://docs.singlestore.com/cloud/reference/data-api/){:target="_blank"}.
42+
For more information, see the [SingleStore Data API documentation](https://docs.singlestore.com/cloud/reference/data-api/){:target="_blank"}.
4343

4444
## Database structure
4545
Segment writes data to your specified table in SingleStore (by default, this is `segment_data`) using the following schema:
@@ -48,10 +48,10 @@ Segment writes data to your specified table in SingleStore (by default, this is
4848
| -------- | ------ | ----------- |
4949
| `messageId` | TEXT | A unique identifier for the event to ensure there is no duplication. |
5050
| `timestamp` | Datetime(6) | The timestamp of when the event was generated |
51-
| `type` | TEXT | The type of the event (e.g., "track", "identify", "page", "screen", "group", "alias"). |
52-
| `event` | TEXT | The name of the event. Only required for "track" events. |
51+
| `type` | TEXT | The type of the event (for example, Track, Identify, Page, Screen, Group, or Alias). |
52+
| `event` | TEXT | The name of the event. Only required for Track events. |
5353
| `name` | TEXT | The name of the page or screen. |
54-
| `properties` | JSON | The properties of the track, page or screen event. |
54+
| `properties` | JSON | The properties of the Track, Page or Screen event. |
5555
| `userId` | TEXT | The user ID associated with the event. |
5656
| `anonymousId` | TEXT | The anonymous ID associated with the event. |
5757
| `groupId` | TEXT | The group ID associated with the event. |
@@ -71,7 +71,7 @@ This query allows you to extract specific nested properties from the JSON column
7171

7272
## Troubleshooting
7373

74-
> **Note:**
74+
> info "Request size limit"
7575
> The SingleStore Data API has a limit of 1MB per request. If a batch of events sent by Segment exceeds this limit, you may see an error similar to:
7676
>
7777
> ```
@@ -81,7 +81,7 @@ This query allows you to extract specific nested properties from the JSON column
8181
> If you encounter this error, reduce the batch size in your Segment destination settings.
8282
8383
84-
### Connection Errors
84+
### Connection errors
8585
If you're unable to connect to the SingleStore database:
8686
* Verify that the credentials are correct.
8787
* Ensure that your SingleStore database is accessible from Segment’s servers.
@@ -92,20 +92,20 @@ If you encounter authentication errors when Segment attempts to connect:
9292
* Confirm that the Username and Password are correct.
9393
* Ensure that the user has the necessary permissions to write to the database.
9494
95-
### Data Not Appearing in SingleStore
95+
### Data not appearing in SingleStore
9696
If events are not recorded in the specified table:
9797
* Verify that your sources are correctly sending data to Segment.
9898
* Check the event types to ensure they are supported.
9999
* Review your SingleStore database logs for any errors.
100100
101-
## Frequently Asked Questions
101+
## Frequently asked questions
102102
### Can I customize the schema used in SingleStore?
103103
104104
By default, the mapping stores all fields from the Segment event in separate columns in the `segment_data` table. If you prefer, you can customize the mapping to selectively include or exclude specific fields to be sent and written into SingleStore.
105105
106106
### How does SingleStore handle data types from Segment?
107107
108-
All event data is stored natively as JSON in the message column. This allows for flexible schema management and easy access to nested properties using SQL queries. SingleStore's ability to dynamically and quickly parse the JSON allows all types of complex events to be queried or used in notebooks.
108+
Event data is stored as JSON in the message column. This allows for flexible schema management and easy access to nested properties using SQL queries. SingleStore's ability to dynamically and quickly parse the JSON allows all types of complex events to be queried or used in notebooks.
109109
110110
### Is the data ingestion process real-time?
111111

0 commit comments

Comments
 (0)