Skip to content

Commit

Permalink
Update MySQL connector Timestamp documentation (#647)
Browse files Browse the repository at this point in the history
* Update MySQL connector Timestamp documentation

* update
  • Loading branch information
Sevenannn authored Nov 20, 2024
1 parent e5293a5 commit edb919e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spiceaidocs/docs/components/data-connectors/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,20 @@ datasets:
datasets:
- from: mysql:my_database.mytable
name: my_dataset
params:
...
params: ...
```

### `name`

The dataset name. This will be used as the table name within Spice.

Example:

```yaml
datasets:
- from: mysql:path.to.my_dataset
name: cool_dataset
params:
...
params: ...
```

```sql
Expand Down Expand Up @@ -124,7 +123,7 @@ The table below shows the MySQL data types supported, along with the type mappin

:::note

- MySQL `TIMESTAMP` value is the local time to the MySQL server timezone, the corresponding arrow `Timestamp(Microsecond, None)` type has the same local time value as MySQL `TIMESTAMP` value.
- The MySQL `TIMESTAMP` value is [retrieved as a UTC time value](https://dev.mysql.com/doc/refman/8.4/en/datetime.html).

:::

Expand Down

0 comments on commit edb919e

Please sign in to comment.